)
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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to render strip lines behind the series in Chart?

Platform: ASP.NET Web Forms |
Control: Chart |
Published Date: February 12, 2015 |
Last Revised Date: July 2, 2019

Essential Chart supports rendering strip line behind the series by using ZIndex property of strip line. This property takes values as Behind and Over. By default, strip line appears in front of the series so the part of series overlapping with strip line is not visible. You can avoid this by setting the value of ZIndex property as Behind.

ASP

    <ej:Chart ID="container" OnClientTrackAxisToolTip="crosshairLabel" runat="server"> 
        <CommonSeriesOptions Type="Line">
            <Marker Visible="true"></Marker>
        </CommonSeriesOptions>
        <PrimaryYAxis>
            <StripLine>
                <ej:StripLine Start="0" End="15" Color="red" Text="Poor performance" ZIndex="Behind" Font-FontFamily="Arial" Font-FontSize="16" Font-Color="white" />
                 . . . . . . . . . .
                 . . . . . . . . . .
            </StripLine>
        </PrimaryYAxis>
    </ej:Chart>

 

The above code example renders the chart as follows.

Strip lines behind the series in Chart

 

 

2X faster development

The ultimate ASP.NET Web Forms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

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

Up arrow icon

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

Live Chat Icon For mobile
Live Chat Icon