Home forums Chart Support how to create pie partion?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #26665

    I have a for loop and every time for loop gives us start and end values in percentage. I want to create pie chart according to values given by for loop. let’s say first time loop gives us 0% to 33% then in pie chart, 0 -33 part(shard) should be create. after that loop gives us 34% to 66% then again this part should be create and so on. Partion should be clickable.



    You can iterate through your dataset and parse it in the format acceptable by CanvasJS as shown in this JSFiddle.

    Kindly refer to the given documentation pages to assign click event handler on dataSeries and dataPoint level respectively.

    Shashi Ranjan
    Team CanvasJS

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

You must be logged in to reply to this topic.