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

Set different backgrounds on different rows in a chart.

I have a chart containing multiple rows using ChartRowDefinitions. Each row has a different series, and I would like to put a different colour behind each series.

You can set the background for the whole chart, but I would like different rows to have different backgrounds. Is this possible?

3 Replies

DA Devi Aruna Maharasi Murugan Syncfusion Team August 8, 2016 12:28 PM UTC

Hi Michelle, 
  
Thanks for contacting Syncfusion Support. 
  
We have analyzed your requirement. By using the StripLines property of the axis, we can set different background color to each of the row defined in chart area. 
  
We have prepared a demo sample based on your requirement and it can be downloaded from below link, 
  
  
Please refer our UG documentation to know in details about StripLines, 
  
  
Regards, 
Devi 





MB Michelle Barnett August 8, 2016 01:45 PM UTC

Hi Devi,

That solves my problem. Thanks :)


DA Devi Aruna Maharasi Murugan Syncfusion Team August 9, 2016 03:38 AM UTC

Hi Michelle, 
  
Thanks for your update. 
  
Please let us know, if you need any further assistance. 
  
Regards, 
Devi 


Loader.
Live Chat Icon For mobile
Up arrow icon