API / Series/General / BaseSeriesLegend

Defined in: src/types/chart/base.ts:74

Extends

Properties

Property Type Description
enabled? boolean -
groupId? string For multiple series with the same groupId, only one label in the legend will be displayed. The legend element uses the name and symbol from the first series of the group.
itemDistance? number Defines the pixel distance between each legend item Default 20
itemStyle? BaseTextStyle CSS styles for each legend item
itemText? string The text is displayed in the legend instead of the series name.