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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Set different backgrounds on different rows in a chart.

Thread ID:





125296 Aug 5,2016 03:01 PM UTC Aug 9,2016 03:38 AM UTC WPF 3
Tags: SfChart
Michelle Barnett
Asked On August 5, 2016 03:01 PM UTC

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 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, 

Michelle Barnett
Replied On August 8, 2016 01:45 PM UTC

Hi Devi,

That solves my problem. Thanks :)

Devi Aruna Maharasi Murugan [Syncfusion]
Replied On August 9, 2016 03:38 AM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon