Hi Kevin,
Regarding “is it possible to
predict which color will be used and colors are assigned in order”:
As per the current implementation, in the Xamarin.Forms
SfSunburstChart control, the Palette (used to represent different categories
through colors) will be applied to the chart in the order of their arrangement.
This means that the order of categories in the first level and the arrangement
of colors in the array of Color objects directly influence the colors assigned
to the chart segments. By following this arrangement, we can predict the
possible colors applied to each category.
We have prepared an example sample demonstrating the above
behavior and attached below.
We hope that this helps you. Please
let us know if you need further assistance.
Regards,
Vishal
O.
Attachment:
SunburstChartDemo_ac04061a.zip