Custom Pie Chart Slice Color


#1

Hi,

I’d like to to customize the slice colours of the pie chart, how can I do that?

Thank you


#2

Hi Eagle,

You should be able to set the colours of a pie chart by setting the setFlavourColors property on the SChartPieSeriesStyle of the SChartPieSeries of a pie chart. I have provided links to the relevant parts of the API documentation below:

SChartPieSeriesStyle -

http://www.shinobicontrols.com/docs/ShinobiControls/ShinobiCharts/2.2.0/Standard/Normal/Classes/SChartPieSeriesStyle.html

SChartPieSeries - 

http://www.shinobicontrols.com/docs/ShinobiControls/ShinobiCharts/2.2.0/Standard/Normal/Classes/SChartPieSeries.html

Kind regards,

Daniel Allsop


#3

Thanks , it works.

(edit. found selected style)