Why pie chart the 9th's pie slice color is the same as the first one ?I want each of them is different from each other.How can I do that
1 Answer, 1 is accepted
0
Accepted
Nikolay Tsonev
Telerik team
answered on 25 Oct 2016, 08:05 AM
Hi,
Thank you for reporting your problem.
Indeed you could specify the color of every slice color by manually setting the fillColor and strokeColor for every item from the PieChart. To do that you should use Palette component specify PaletteEntry for every slice. that important part is to set seriesName for DonutSeries and for the Palette. For your I am attaching sample code. This functionality is supported only for vanilla JavaScript project at the moment. The next plugin release will provide this feature and for NativeScript Angular2 projects. You could keep track on the new features updates and fixes in our Release notes section. We also have dedicated "What's new" blog article which can be found here.
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items