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

Draw a line crossing the chart

I'm using ChartComponent, is it possible to put a line that crosses the chart as in the image below?

1 Reply

SM Srihari Muthukaruppan Syncfusion Team January 10, 2020 08:39 AM UTC

Hi Oscar, 

We have analyzed your query. From that, we would like to let you know that we can achieve your requirement using “striplines” property in axis of the chart. Based on your requirement we have also prepared a sample for reference. Please find below screenshot, code snippet and sample.  

Code Snippet: 
           stripLines: [ 
                    start: 76.5, end: 77.5, zIndex: "Over",  
                    color: 'green' 

Let us know if you have any concerns. 

Srihari M 

Live Chat Icon For mobile
Up arrow icon