• 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 Strip Line in ASP.NET MVC Chart Control

This sample highlights certain range in an axis by using stripline feature.

StripLine Types:

In this example, you can see how to render and configure the stripline charts. You can use stripline by enabling the visible property. Striplines are rendered in the specified start and end range and you can add more than one stripline for an axis.

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

Injecting Module

Chart component features are segregated into individual feature-wise modules. To use strip line, we need to inject StripLine module using Chart.Inject(StripLine) method.

More information on the strip line can be found in this documentation section.