New to Kendo UI for AngularStart a free 30-day trial

Crosshairs

The Chart crosshairs are lines, which are perpendicular to the axes and enable the user to see the exact value at the current cursor position in their tooltip.

Enable Crosshairs

To enable the crosshair for an axis, either:

  • Add the corresponding crosshair component, or
  • Set the crosshair.visible option to true.

The following example demonstrates how to enable the crosshairs. The category axis uses the component to enable the crosshair and its tooltip, the value axis uses an object to define the settings for them.

Change Theme
Theme
Loading ...

Get Current Cursor Values

To get the current hovered values, use the plotAreaHover event.

The following example demonstrates how to get the hovered values.

Change Theme
Theme
Loading ...

Support and Learning Resources

Additional Resources