We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Color of lines between segments


is it possible to change the color between segments? It is white by default but it looks not nice on a black background.


3 Replies

MK Muneesh Kumar G Syncfusion Team March 11, 2019 06:31 AM UTC

Hi Alexander, 
Greetings from Syncfusion.  
We have analyzed your requirement and you can achieve this by changing Stroke in SfSunburstChart control as per the below code snippet.  
Also, if you want to change the size the stroke, you can achieve this by setting StrokeThickness in chart.  
Code snippet 
<sunburst:SfSunburstChart   ItemsSource="{Binding Data}"  Palette="LightCandy" 
Hope it helps you.  
Muneesh Kumar G.  

AL Alexander March 11, 2019 04:30 PM UTC

Well, thanks, that was easy. Should have searched the settings better, I thought I would need to override some styles. :-)

MK Muneesh Kumar G Syncfusion Team March 12, 2019 04:00 AM UTC

Hi Alexander,  
Thanks for the update. 
We would like to inform you that every control has its own property to customize some UI appearance. We are glad to know that the given solution works. Please let us know if you need any further assistance. 
Muneesh Kumar G.  

Live Chat Icon For mobile
Up arrow icon