Home forums Using CanvasJS Two datapoints – wrong position

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Indranil Deo 7 months, 3 weeks ago.

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

    Kristoffer
    Member

    Hi!

    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

    #19835

    Indranil Deo
    Member

    @krillenummer1,

    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.