Home › Forums › Chart Support › reverse stepLine › Reply To: reverse stepLine
@Larry,
Chart is rendered based on the sequence of datapoints given. If {x:5,y:7} is given first then {x:4,y:5}, it renders x:5 and then x:4. To avoid such issues, you can sort dataPoints before rendering the chart. Please take a look at this jsfiddle.
{x:5,y:7}
{x:4,y:5}
___________ Indranil Deo, Team CanvasJS