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

ValueAxisCrosshairTooltipComponent

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

Selector

kendo-chart-value-axis-item-crosshair-tooltip

Inputs

NameTypeDefaultDescription

background

string

Specifies the background color of the tooltip.

border

Border

Specifies the border configuration of the tooltip.

color

string

Specifies the text color of the tooltip.

font

string

'12px sans-serif'

Specifies the font of the tooltip.

format

string

'{0}'

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

padding

number | Padding

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

visible

boolean

false

Determines whether the chart displays the value axis crosshair tooltip.

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