Home Forums Chart Support Two datapoints – wrong position

Two datapoints – wrong position

Viewing 2 posts - 1 through 2 (of 2 total)
  • #19833


    Firstly, I love Canvas JS!

    Secondly, to the issue, i have two different datapoints. Lets say i have one that gets Actual sales for 1 year back. (Lets say 4 months to make it simple) Then i also have a datapoint for budget, 4 months.

    Datapoint one actual:
    201701 20000
    201702 40000
    201704 20000

    Datapoint two budget:
    201701 20000
    201702 30000
    201703 20000
    201704 10000

    When i display then in a graph, then the datapoint 1 will show values for the dates: 201701, 201702, 201703 which is wrong.

    Is there something in canvas js to fix this problem or do i need to construct a query where i put in a 0 value for 201703?

    Best Regards,
    Kristoffer Frostholm



    Can you please create a jsfiddle reproducing the issue you are facing so that we can look into your code and help you out.

    Indranil Deo,
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.