Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
300
XamPieChart Slice Colors
posted

Hi,

How to set Color to each Slice in XamPieChart.

Suppose I have  <SomeEnum, double>   as ItemsSource of XamPieChart where  SomeEnum is enum SomeEnum{ A, B, C }. I Want A Slice always be Red , B slice Blue and C Green. When I set to XamPieChart.Brushes some colors they randomly used to fill Slices, and if I have several similar slices, they colorized differently. Is there any way to solve the issue.

Thanks.