Home › forums › Chart Support › How to get data of selected slices in pie chart › Reply To: How to get data of selected slices in pie chart
1. I want to get the data of selected slices , please give me the code for it.
You can use the click event handler to get the data of the selected dataPoints on a chart.
2. I want to set some selected pie slices by default on page load,
You can achieve the above requirement by setting the exploded property to true for the dataPoints you would like to highlight.