XAxisCrosshairTooltipComponent
Represents the configuration options of the crosshair tooltip in the X axis.
The crosshair tooltip is displayed when the visible option is set to true.
Definition
Package:@progress/kendo-angular-charts
Selector:kendo-chart-x-axis-item-crosshair-tooltip
Inputs
background
string
Specifies the background color of the tooltip.
color
string
Specifies the text color of the tooltip.
font
string
Specifies the font of the tooltip.
'12px sans-serif'
format
string
Specifies the format for displaying the tooltip. Uses the format method of IntlService.
Contains one placeholder ("{0}") which represents the value.
'{0}'
Specifies the padding of the crosshair tooltip. A numeric value sets all paddings.
0
visible
boolean
Determines whether the Chart displays the crosshair tooltip of the Scatter chart X axis. By default, the crosshair tooltip of the Scatter chart X axis is not visible.
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.
An object containing the updated input fields.