Colors for specific XamPieChart slices


What is the best approach for assigning specific colors to specific XamPieChart slices?  For example, the "On Time" slice should always be green, and the "Late" slice should always be red.  If I simply declare a BrushCollection in XAML, then this works only if all possible data points are present, but if the "On Time" slice is empty, then the "Late" slice becomes green - wrong!.  I have to avoid this scenario...each slice should have one and only one color it can use.

Thanks for your help!


Parents Reply Children
No Data