Skip to content

Example of Dashed Line in ASP.NET Core Charts Control

This Dashed Line Chart example represents the monthly sales of the channels with lines drawn with a dash pattern.

The DashArray property of a series draws its line with a dash pattern, which tells the lines apart without a colour: for example "6,4" draws 6 pixels of line and 4 of gap, and "2,3" draws dots.