Search results

CrosshairSettings API in React Pivot Grid API component

Allow options to customize the crosshair line with different settings such as color and width of the line, line types that are shown horizontally and vertically to indicate the value of the axis at the mouse hover or touch position in the pivot chart.

Properties

dashArray

string

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

Defaults to

enable

boolean

Allows to show the crosshair lines in the chart.

Defaults to false

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.

Defaults to Both