Api crosshairSettingsModel in EJ2 JavaScript Chart control

8 May 20231 minute to read

Interface for a class CrosshairSettings

Properties

enable boolean

If set to true, crosshair line becomes visible.

line BorderModel

Options to customize the crosshair line.

lineType string

Specifies the line type. Horizontal mode enables the horizontal line and Vertical mode enables the vertical line. They are,

  • None: Hides both vertical and horizontal crosshair lines.
  • Both: Shows both vertical and horizontal crosshair lines.
  • Vertical: Shows the vertical line.
  • Horizontal: Shows the horizontal line.