Articles in this section
Category / Section

How to display the dash line instead of solid line for line series in the Chart?

1 min read

The Essential Chart supports displaying the dash line instead of default solid line for line series by using the DashArray property. The following code example illustrates the same.

ASP

    <ej:Chart ID="container" runat="server">         
       <CommonSeriesOptions DashArray="5,5" type="Line">
           <Marker Visible="true"></Marker>
       </CommonSeriesOptions>
    </ej:Chart>

 

The following screenshot displays the line series with dotted lines.

The line series with dotted lines

 

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