• Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Theme Selection
Mode Selection
*Translated by Google Translator.

Example of Dashed Line in ASP.NET MVC Chart Control

This sample shows the rate of fruit production with default line series and dash array in the chart. Dashed lines are animated using CSS animation.


In this example, you will see how to render and configure a line chart. Line charts are used to represent time-dependent data, showing trends in data at equal intervals. You can use DashArray, Width, and Fill properties to customize the line.

Tooltip is enabled in this example. To see the tooltip in action, hover a point or tap on a point in touch enabled devices.

More information about the dashed line can be found in this documentation section.