API REFERENCE
legendPosition
Where the legend is positioned.
Definition
| Item | Value |
|---|---|
| JavaScript property | legendPosition |
| HTML attribute | legend-position |
| Type | LineChartLegendPosition |
| Default | 'bottom' |
| Allowed values | top, bottom, left, right, float |
- LineChartLegendPosition
Type definition
Configuration example
chart.legendPosition = 'bottom';