Hello Michael,
It's easier to just set a custom palette (see:
Custom Chart Palette), then access the PaletteEntries via the chart's
Palette property:
Example
In the following example, I iterate over the ItemsSource of the PieSeries and create custom Legend items for a RadListView. Using the index of the item in the original series data to match up with the series slice (it goes back to the first custom palette color when it reaches the end).
You'll get a result like this:
I've attached all the code for the above example.
Regards,
Lance | Technical Support Engineer, Principal
Progress Telerik
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