Axis range does not include the StripLine if it is outside the data range.

Say I have a chart with data from 0 - 100. I want a strip line in the range of 200 - 300.
How can I increase the visible range of the chart so that it includes the entirety of the stripline?
Thank you,
Kosal

1 Reply

DG Durga Gopalakrishnan Syncfusion Team July 1, 2022 01:55 PM UTC

Hi Kosal,

 

Greetings from Syncfusion.

 

We suggest you to specify maximum value for primaryYAxis to display stripline in required range. We have prepared sample based on your requirement. Please check with below snippet and screenshot.

 

 primaryYAxis:

        {          

            minimum: 0,

            maximum: 300,            stripLines: [

                {

                    start: 230, end: 280                 }

            ]

        }

 

 

 

Kindly revert us if you have any concerns.

 

Regards,

Durga Gopalakrishnan.


Loader.
Up arrow icon