Home Forums Chart Support splineArea: sort the datasets before render

splineArea: sort the datasets before render

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

    Hi,

    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?

    slineArea

    Thank you in advance!

    #27450

    @netengine,

    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

    #27452

    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.