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

CategoryAxisCrosshairComponent

The crosshair configuration options (see example).

Selector

kendo-chart-category-axis-item-crosshair

Inputs

NameTypeDefaultDescription

color

string

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

dashType

DashType

'solid'

The dash type of the crosshair.

opacity

number

1

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

tooltip

CategoryAxisCrosshairTooltip

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

visible

boolean

false

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

width

number

1

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.

ts
item.notifyChanges({ visible: true });
Parameters

changes

any

An object containing the updated input fields.

In this article
SelectorInputsMethods
Not finding the help you need?
Contact Support