• Material 3
  • Material 3 Dark
  • Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

Example of Crosshair in ASP.NET MVC Chart Control

This sample depicts the crosshair behavior in the charts. To view the crosshair and its tooltip, hover over the chart or tap on it in touch-enabled devices.

DEMO
SOURCE

The crosshair is used to inspect or focus on an individual data point using a vertical and a horizontal line. You can enable the crosshair using the Enable property in the ChartCrosshairSettings class and customize its tooltip by using the ChartAxisCrosshairTooltip in the axis.

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