Setting custom colors for SfSunburstChart segments

Is there any support to set custom color for each segment on the SfSunburstChart? 

I have tried using PalletteBrushes property but it seems the PalletteBrushes property only applies to the first level segments. The segments on other level is colored based on the first level segments. Is there any workaround to set different colors for segments on different levels?

In addition, I have faced an exception when trying to run the app with the ShowLabels ​property set to true.

I have attached test project and stacktrace of the exception. 

Tested Syncfusion library version: 27.1.52

MAUI Version: 8.0.3

Platform: Windows 11 Pro


Attachment: AttachedFiles_dcb45b4.zip

2 Replies

AJ Arul Jenith Berkmans Syncfusion Team October 10, 2024 02:25 PM UTC

Hi Shahadat,

 

Thank you for reaching out. Currently, it is not possible to directly set custom colors for segments at different levels in the SfSunburstChart.

We are investigating a workaround to enable setting different colors for segments across various levels. We will provide an update on this by tomorrow (October 11, 2024).

 

Thank you for your patience and understanding.

 

Best regards,

Arul Jenith B.



AJ Arul Jenith Berkmans Syncfusion Team October 11, 2024 01:41 PM UTC

Hi Shahadat,

 

We regret to inform you that, currently, it's not have any option to set different colors for segments across various levels. So, we have created a feature request based on your enquiry and added it to our request list. You can track its status and progress through the following link:

 

Feedback: Level-Based Custom Brushes for .NET MAUI Sunburst Chart Segments in .NET MAUI | Feedback Portal (syncfusion.com)

 

We prioritize features for each release based on demand. While we don't have immediate plans to implement this due to current commitments, the feature will be considered for one of our upcoming releases.

 

We encourage you to cast your vote for this feature, and if you have any additional suggestions or requirements, feel free to add them as a comment on the feedback portal.

 

Thank you for your understanding.

 

Best regards,

Arul Jenith B.


Loader.
Up arrow icon