Home Forums Chart Support Dual Line Graph rendering incorrectly.

Dual Line Graph rendering incorrectly.

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

    Hello,

    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…

    #15197

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

    #15206

    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.