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

How to change color in a doughnut series in mouseenter?

I have sfchart with 5 custom colors, i need to change that colors to the same color but light when mouse is enter on segment.

3 Replies

DA Devi Aruna Maharasi Murugan Syncfusion Team March 16, 2017 12:11 PM UTC

Hi Tomas, 
  
Thanks for contacting Syncfusion Support. 
  
We have achieved your requirement by using the ChartSelectionBehavior. We have prepared the demo sample based on your requirement and it can be downloaded from below link, 
  
  
Please find the output screenshot when mouseenter, 
 
 
  
Please find the output screenshot when mouseleave, 
 
 
  
Regards, 
Devi 





TR Tomas Raziel Garza Amaya March 16, 2017 02:39 PM UTC

I have problems with your code:


I tried in my code but is the same.


DA Devi Aruna Maharasi Murugan Syncfusion Team March 17, 2017 09:06 AM UTC

Hi Tomas, 
  
Thanks for your update. 
  
We suspect that you are using the older version of Syncfusion.SfChart.WPF assembly. The reported problem has already been fixed in our latest product version. 
  
So, we recommend you to upgrade to our latest product version(v15.1.0.37) to resolve the issue. 
  
If still issue reproduced in current version, please share more information about the issue. It would be helpful for us to serve you better. 
  
Regards, 
Devi 
 


Loader.
Live Chat Icon For mobile
Up arrow icon