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

AxisDefaultsCrosshairTooltipComponent

The options of the crosshair tooltip (see example). The crosshair tooltip is displayed when the axisDefaults.crosshair.tooltip.visible option is set to true.

Selector

kendo-chart-axis-defaults-crosshair-tooltip

Inputs

background

string

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

border

Border

The border options.

color

string

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

font

string

The tooltip font.

format

string

The format for displaying the tooltip. Uses the format method of IntlService. Contains one placeholder ("{0}") which represents the category value.

padding

Padding | number

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

visible

boolean

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

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.