Search results

PivotChartSettingsCrosshairSettings API in Angular 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 DashArray for crosshair.

Defaults to

enable

boolean

If set to true, crosshair line becomes visible.

Defaults to false

line

PivotChartBorderModel

Allows options to customize the crosshair line.

lineType

LineType

Allows to set 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.

Defaults to Both