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

Example of Crosshair in ASP.NET Core 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.