New to Kendo UI for AngularStart a free 30-day trial

Represents the available configuration options of the Chart crosshair (see example).

Definition

Package:@progress/kendo-angular-charts

Selector:kendo-chart-axis-defaults-crosshair

Inputs

color

string

Specifies the color of the crosshair.

Specifies the dash type of the crosshair.

Default:

'solid'

opacity

number

Sets the opacity of the crosshair. By default, the crosshair is opaque.

Default:

1

Specifies the tooltip configuration of the crosshair.

visible

boolean

Determines whether the Chart displays the axis crosshair. By default, the axis crosshair is not visible.

Default:

false

width

number

Defines the width of the crosshair in pixels.

Default:

1

Methods

Updates the component fields with the specified values and refreshes the Chart.

Use this method when the configuration values cannot be set through the template.

Parameters:changesany

An object containing the updated input fields.