ZingChart: How do I create an exploded pie chart?

There are two ways to create an exploded pie chart.

  • "detached" attribute

  • "offset-r" attribute

{
  "type": "pie",
  "plot":{
    //"detached":true
    // would detach all of them, single shown below
  },
  "series": [
    {
      "values": [59],
      "detached":true,
    },
    {
      "values": [55]
    },
    {
      "values": [30]
    },
    {
      "values": [28]
    },
    {
      "values": [15]
    }
  ]
}

Example: https://demos.zingchart.com/view/S1YK7GJP

Example: https://demos.zingchart.com/view/9XRAN6EG

Documentation

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us