Home forums Chart Support Dual Line Graph rendering incorrectly.


Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #15193


    I am having some issues with the rendering of a graph with two separate lines.

    I have already gotten the data from the db, and formatted it to have the same date so that they would overlay, just the times different, but it is rendering in an odd fashion.

    JSFiddle: https://jsfiddle.net/6pba1jvv/

    As you can see, the lines are all over the place, even though the data for the x axis is unique per datapoint in each line’s dataset…

    I have changed it to area type for the purpose of further showing how weirdly it is rendering…


    – Fixed by just using another JS Library for charts. –


    Hi @jjas850,

    Seems like your dataPoints weren’t sorted. Please have a look at this updated jsfiddle.

    Suyash Singh
    Team CanvasJS

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

You must be logged in to reply to this topic.