API REFERENCE

legendPosition

Where the legend is positioned.

Definition

ItemValue
JavaScript propertylegendPosition
HTML attributelegend-position
TypeLineChartLegendPosition
Default'bottom'
Allowed valuestop, bottom, left, right, float

Configuration example

javascript
chart.legendPosition = 'bottom';