# Legend

The Chart legend displays the name of the configured data series.

To customize the legend, use the [ChartLegend](https://www.telerik.com/kendo-vue-ui/components/charts/api/chartlegendprops) configuration component.

The following example demonstrates how to configure the position and orientation of the Chart legend.

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

## Hiding the Legend

If you set the series names, the Chart displays a default legend.

The following example demonstrates how to hide the legend by using its [`visible`](https://www.telerik.com/kendo-vue-ui/components/charts/api/chartlegendprops#visible) property.

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

## Configuring the Legend Items

The Legend Item types and settings are derived from the series configuration. For additional configuration, use the series series [`legendItem`](https://www.telerik.com/kendo-vue-ui/components/charts/api/chartseriesitemprops#legenditem) property.

The following example shows the different Legend Item types:

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

## Clicking Legend Items

Clicking the legend items triggers the [`onLegendItemClick`](https://www.telerik.com/kendo-vue-ui/components/charts/api/chartprops#onlegenditemclick) event which can be used to toggle the visibility of the clicked series. When `onLegendItemClick` is not handled, the Chart itself toggles the series visibility.

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

## Customizing the Position

You can remove the legend from the flow and absolutely position it by setting the position to `custom` and configuring the `offsetX` and `offsetY` options.

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

## Setting a Title

The Chart legend section can be configured to hold a title with customizable layout and content.
To define a title, use the [`ChartLegendTitle`](https://www.telerik.com/kendo-vue-ui/components/charts/api/chartlegendtitleprops) component.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/charts/elements/legend/title/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)
* [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)
* [Tooltip](https://www.telerik.com/kendo-vue-ui/components/charts/elements/tooltips)
* [API Reference of the Chart](https://www.telerik.com/kendo-vue-ui/components/charts/api)
