ChartAxisDefaultsCrosshairTooltipSettingsTagHelper
Example
Razor
<chart-axis-defaults-crosshair-tooltip>
<border />
<padding />
</chart-axis-defaults-crosshair-tooltip>
ChildTags
| Tag Name | Details |
|---|---|
| border | ChartAxisDefaultsCrosshairTooltipBorderSettingsTagHelper |
| padding | ChartAxisDefaultsCrosshairTooltipPaddingSettingsTagHelper |
Attributes
| Attribute | Type | Description |
|---|---|---|
| background | String | The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb. |
| 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 used to display the tooltip. Uses kendo.format. Contains one placeholder ("{0}") which represents the category value. |
| template | String | The template which renders the tooltip.The fields which can be used in the template are: value - the category value. |
| template-handler | String | The template which renders the tooltip.The fields which can be used in the template are: value - the category value. This option expects the name of a JavaScript function that will be called to return the template. |
| template-id | String | The template which renders the tooltip.The fields which can be used in the template are: value - the category value. This option expects the ID of the script element that contains the template. |
| template-view | IHtmlContent | The template which renders the tooltip.The fields which can be used in the template are: value - the category value. This option expects the instance containing the created HTML. |
| visible | Boolean | If set to true the chart will display the axis crosshair tooltip. By default the axis crosshair tooltip is not visible. |