Reputation: 17
After call drawchart function, how can i get particular slice color of PieChart of Zoomcharts.
Is there any method that give me current color of Slice.
Upvotes: 0
Views: 40
Reputation: 4977
Call chart.getActivePies()
;
This object will contain array of the active pies. In each pie object you will have allSlices
array of slice objects. Each slice object has a property currentFillColor
which contains the values that you need.
Upvotes: 0