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.
Unfortunately, activation email could not send to your email. Please try again.

Set different backgrounds on different rows in a chart.

Thread ID:

Created:

Updated:

Platform:

Replies:

125296 Aug 5,2016 11:01 AM Aug 8,2016 11:38 PM WPF 3
loading
Tags: SfChart
Michelle Barnett
Asked On August 5, 2016 11:01 AM

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?

Devi Aruna Maharasi Murugan [Syncfusion]
Replied On August 8, 2016 08:28 AM

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 




Michelle Barnett
Replied On August 8, 2016 09:45 AM

Hi Devi,

That solves my problem. Thanks :)

Devi Aruna Maharasi Murugan [Syncfusion]
Replied On August 8, 2016 11:38 PM

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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;