# Tooltips

The Kendo UI for Vue Chart supports three types of tooltips.

The Chart tooltip types are:

* [Series tooltip](https://www.telerik.com/kendo-vue-ui/components/charts/elements/tooltips#series-tooltip)—A tooltip displayed for the hovered chart point.
* [Shared tooltip](https://www.telerik.com/kendo-vue-ui/components/charts/elements/tooltips#shared-tooltip)—A tooltip displayed for the hovered chart category.
* [Crosshair tooltip](https://www.telerik.com/kendo-vue-ui/components/charts/elements/tooltips#crosshair-tooltip)—A tooltip displayed for the axes crosshairs.

## Series Tooltip

The series tooltip is displayed when the user hovers over a point and is used to show the point values or any additional information. By default, the color of the tooltip matches the color of the point to help associate the tooltip with that point. It is also possible to set it to a specific color by using the [`background`](https://www.telerik.com/kendo-vue-ui/components/charts/api/charttooltipprops#background) and [`border`](https://www.telerik.com/kendo-vue-ui/components/charts/api/charttooltipprops#border) options.

### Tooltip configuration

To enable and configure the tooltip for all series, use the [`ChartTooltip`](https://www.telerik.com/kendo-vue-ui/components/charts/api/charttooltipprops) component. To enable and configure the tooltip for a specific series, use the [`ChartSeriesItemTooltip`](https://www.telerik.com/kendo-vue-ui/components/charts/api/chartseriesitemtooltipprops) component.

The following example demonstrates how to configure the tooltip globally and to override an option for a specific series.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/charts/elements/tooltips/overview/source.txt)

### Customizing Content

By default, the content of the tooltip is determined based on the point type. To customize the tooltip content, either:

* Use the [`format`](https://www.telerik.com/kendo-vue-ui/components/charts/api/charttooltipprops#format) prop, or
* Specify a template through the [`render`](https://www.telerik.com/kendo-vue-ui/components/charts/api/charttooltipprops#render) prop.

#### Using the format Option

The following example demonstrates how to customize the content of the tooltip through the `format` configuration.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/charts/elements/tooltips/format/source.txt)

#### Specifying a Template

To specify a template, use the `render` prop of the [`ChartTooltip`](https://www.telerik.com/kendo-vue-ui/components/charts/api/charttooltipprops) or [`ChartSeriesItemTooltip`](https://www.telerik.com/kendo-vue-ui/components/charts/api/chartseriesitemtooltipprops) components.

The callback passed to the `render` props receives a single parameter - the context of the tooltip. When the `render` prop is defined on the `ChartTooltip` component, the context can be either of type [`SharedTooltipContext`](https://www.telerik.com/kendo-vue-ui/components/charts/api/sharedtooltipcontext) or [`TooltipContext`](https://www.telerik.com/kendo-vue-ui/components/charts/api/tooltipcontext) depending on whether the tooltip is [`shared`](https://www.telerik.com/kendo-vue-ui/components/charts/elements/tooltips#sharedtooltip) or not. The type of context when defined on the `ChartSeriesItemTooltip` is always of type `TooltipContext`.

The following example demonstrates how to customize the content by using a `render` prop.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/charts/elements/tooltips/template/source.txt)

## Shared Tooltip

The shared tooltip is displayed when the user hovers over a category and is used for Categorical charts. The shared tooltip shows a summary of all points in the hovered category. To enable the shared tooltip, use the `shared` option of the [`ChartTooltip`](https://www.telerik.com/kendo-vue-ui/components/charts/api/charttooltipprops#shared) component.

The following example demonstrates how to enable the shared tooltip.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/charts/elements/tooltips/one-tooltip/source.txt)



## Crosshair Tooltip

The crosshair tooltips are displayed next to the axes crosshairs and show the current value of the crosshairs. To enable the crosshair tooltip, use the specific axis crosshair-tooltip component.

### Using in Categorical Charts

The following example demonstrates how to enable the crosshair tooltips for the Categorical charts.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/charts/elements/tooltips/categorical/source.txt)

### Using in Scatter Charts

The following example demonstrates how to enable the crosshair tooltips for the Scatter charts.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/charts/elements/tooltips/scatter/source.txt)

## Suggested Links

* [Axes](https://www.telerik.com/kendo-vue-ui/components/charts/elements/axes)
* [Chart Area](https://www.telerik.com/kendo-vue-ui/components/charts/elements/chart-area)
* [Crosshairs](https://www.telerik.com/kendo-vue-ui/components/charts/elements/crosshairs)
* [Error Bars](https://www.telerik.com/kendo-vue-ui/components/charts/elements/crosshairs)
* [Labels](https://www.telerik.com/kendo-vue-ui/components/charts/elements/labels)
* [Legend](https://www.telerik.com/kendo-vue-ui/components/charts/elements/legend)
* [Notes](https://www.telerik.com/kendo-vue-ui/components/charts/elements/notes)
* [Panes](https://www.telerik.com/kendo-vue-ui/components/charts/elements/panes)
* [Plot Area](https://www.telerik.com/kendo-vue-ui/components/charts/elements/plot-area)
* [Plot Bands](https://www.telerik.com/kendo-vue-ui/components/charts/elements/plot-bands)
* [Selection](https://www.telerik.com/kendo-vue-ui/components/charts/elements/selection)
* [Series](https://www.telerik.com/kendo-vue-ui/components/charts/elements/series)
* [Title](https://www.telerik.com/kendo-vue-ui/components/charts/elements/title)
* [API Reference of the Chart](https://www.telerik.com/kendo-vue-ui/components/charts/api)
