legend.position String (default: "right")

The 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.
In this article
Not finding the help you need? Improve this article