CrosshairSettingsModel

10 Oct 20251 minute to read

Interface for a class CrosshairSettings

Properties

dashArray string

Allows to set the pattern of dashes and gaps to crosshair.

enable boolean

Allows to show the crosshair lines in the chart.

line PivotChartBorderModel

Allow options to customize the border of the crosshair line such as color and border size in the pivot chart.

lineType LineType

Allows to specify the line type of the crosshair. 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.