Api crosshairSettingsModel in Vue Chart component

18 Nov 20181 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.