State.legend
configurationThe chart legend configuration options.
state.legend
Objectstate.legend.labels
ObjectThe chart legend label configuration.
state.legend.position
StringThe positions of the chart legend.
The supported values are:
- "top" - the legend is positioned on the top.
- "bottom" - the legend is positioned on the bottom.
- "left" - the legend is positioned on the left.
- "right" - the legend is positioned on the right.
- "custom" - the legend is positioned using legend.offsetX and legend.offsetY.
Default: "right"
state.legend.visible
BooleanIf set to true the chart will display the legend. By default the chart legend is visible.
Default: true