You must be logged in to post your query.
Home › Forums › Chart Support › Dual Line Graph rendering incorrectly.
Tagged: helpmepls
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…
– 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
You must be logged in to reply to this topic. Login/Register