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
close icon

Color of lines between segments

Hello,

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

https://imgur.com/UNkkRIB

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" 
                                    Stroke="Yellow" 
                                   ValueMemberPath="EmployeesCount"> 
            <sunburst:SfSunburstChart.Header> 
.. 
 
Screenshot: 
 
Hope it helps you.  
   
Thanks, 
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. 
 
Thanks, 
Muneesh Kumar G.  
 


Loader.
Live Chat Icon For mobile
Up arrow icon