New to Kendo UI for Vue? Start a free 30-day trial

LegendItem

The configuration of the Chart legend item.

NameTypeDefaultDescription

area?

LegendItemArea

Sets the configuration of the legend items of type area. By default, all series except line and scatter use this legend type.

cursor?

string

The cursor style of the legend item.

highlight?

LegendItemHighlight

The highlight configuration of the legend item.

line?

LegendItemLine

Sets the configuration of the legend items of type line. This is the default legend item type for all line and scatter series.

markers?

LegendItemMarkers

The markers configuration of the legend item. Defaults to the series options.

type?

string

Sets the type of the legend item. The default value is based on the series type.

visual?

(e: LegendItemVisualArgs) => Element

A function for creating a custom visual for the legend items.

The available argument fields are:

  • options—The item options.
  • createVisual—A function for getting the default visual.
  • series—The item series.
  • pointIndex—The index of the point in the series. Available for the Pie, Donut, and Funnel series.

In this article

Not finding the help you need?