JavaScript/jQuery PolarChart - Legend
Specifies the properties of a chart's legend.
import { Legend } from "devextreme/viz/polar_chart"
customizeHint
Specifies the text for a hint that appears when a user hovers the mouse pointer over a legend item.
Type:
Function parameters:
seriesInfo:
Information on the series.
Object structure:
Name | Type | Description |
---|---|---|
seriesColor |
The series' color. |
|
seriesIndex |
The index of the series in the series array. To get the Series object by this index, call the getSeriesByPos(seriesIndex) method. |
|
seriesName | any |
The series' name. To get the Series object by this name, call the getSeriesByName(seriesName) method. |
Return Value:
The text for the hint to display.
customizeText
Specifies a callback function that returns the text to be displayed by legend items.
Type:
Return Value:
The text for the legend item to display.
Cannot be used in themes.
hoverMode
Specifies what series elements to highlight when a corresponding item in the legend is hovered over.
Type:
Default Value: 'includePoints'
Feedback