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

Represents the configuration options of the crosshair tooltip for the category axis of the Chart (see example). The crosshair tooltip is displayed when the visible option is set to true.

Definition

Package:@progress/kendo-angular-charts

Selector:kendo-chart-category-axis-item-crosshair-tooltip

Inputs

Sets the background color of the tooltip.

Specifies the border configuration of the tooltip.

color

string

Defines the text color of the tooltip.

font

string

Sets the font of the tooltip.

Default:

'12px sans-serif'

format

string

Specifies the format used to display the tooltip. Uses the format method of IntlService. Contains one placeholder ("{0}") which represents the category value.

Default:

'{0}'

Specifies the padding of the crosshair tooltip. A numeric value sets all paddings.

Default:

0

visible

boolean

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

Default:

false

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.