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

Adding vertical StripLines based on a condition

Thread ID:





121052 Nov 6,2015 09:57 AM UTC Nov 10,2015 04:40 AM UTC WPF 3
Tags: SfChart
Jeremie Clos
Asked On November 6, 2015 09:57 AM UTC


I am trying to do the following: after tracing some line data on my SfChart, and based on some specific conditions, I would like to dynamically add vertical StripLines in C# code to outline intervals of that line which are breaking a business rule. Most of the documentation I found on the forum is either for another platform or are too old and rely on attributes which are not present anymore. Could you help me or point me towards a more complete documentation of the SfChart StripLines?


Samuel Rajadurai Edwin Rajamanickam [Syncfusion]
Replied On November 9, 2015 03:58 PM UTC

Hi Jeremie Clos,

Thanks for contacting Syncfusion support.

We have prepared the sample based on your requirement by adding (in code behind) StripLine dynamically. Please find the sample in the below location.  



You can also refer our online documentation of the stripline. 





Jeremie Clos
Replied On November 9, 2015 05:05 PM UTC

Hello Samuel,

Thank you very much, it seems to do the job.


Rachel A [Syncfusion]
Replied On November 10, 2015 04:40 AM UTC

Hi Jeremie,

Thanks for the update.

Please let us know if you have any query.



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