Your search did not match any results.

Charts - Crosshair

The DevExtreme Chart component ships with integrated crosshair support (vertical and horizontal lines centered on a data point). When enabled, the crosshair follows the cursor and snaps to the nearest series point. To configure crosshair settings, specify the crosshair object.

Backend API

This demo configures the following crosshair properties:

  • color
    Specifies line color.
  • width
    Configures line width.
  • dashStyle
    Specifies line style.
  • label
    Configures labels (text and appearance).

To override settings for each line individually, configure crosshair.horizontalLine and crosshair.verticalLine objects.