New to Kendo UI for Angular? Start a free 30-day trial

ValueAxisCrosshairComponent

The crosshair configuration options (see example).

Selector

kendo-chart-value-axis-item-crosshair

Inputs

color

string

The color of the crosshair. Accepts a valid CSS color string, including hex and rgb.

opacity

number

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

tooltip

ValueAxisCrosshairTooltip

The options of the crosshair tooltip. The crosshair tooltip is displayed when the valueAxis.crosshair.tooltip.visible option is set to true.

visible

boolean

If set to true, the Chart displays the value axis crosshair. By default, the value axis crosshair is not visible.

width

number

The width of the crosshair in pixels.

Methods

notifyChanges

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.

item.notifyChanges({ visible: true });

Parameters

changes

any

An object containing the updated input fields.