Search results

CrosshairSettingsModel API in JavaScript Chart API control

Interface for a class CrosshairSettings

Properties

dashArray

string

DashArray for crosshair.

enable

boolean

If set to true, crosshair line becomes visible.

horizontalLineColor

string

The color of the border that accepts value in hex and rgba as a valid CSS color string.

line

BorderModel

Options to customize the crosshair line.

lineType

LineType

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.

opacity

number

The opacity for background.

verticalLineColor

string

The color of the border that accepts value in hex and rgba as a valid CSS color string.