Articles in this section
Category / Section

How to render strip lines behind the series in Chart?

1 min read

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.


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


The above code example renders the chart as follows.

Strip lines behind the series in Chart



Did you find this information helpful?
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment