Home forums Chart Support splineArea: sort the datasets before render

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


    is it possible to order the datasets before rendering, so that the bigger ones are in the background and the smaller ones in the foreground?


    Thank you in advance!



    You can achieve the above requirement by sorting the dataSeries based on its respective maximum dataPoints. Please take a look at this JSFiddle.

    Indranil Deo,
    Team CanvasJS


    Thank you for your help Indranil!

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

You must be logged in to reply to this topic.