Gets the
LegendBox object representing the legend box in the chart.
The LegendBox obtains using this method is not fixed. This allows you to add more keys to the legend box, and change the legend box fonts, etc. However, this also means that the legend box size (
Box.getWidth and
Box.getHeight) is undefined.
To obtain the width and height of the legend box, use
BaseChart.layoutLegend.
The
LegendBox object representing the legend box in the chart.
© 2021 Advanced Software Engineering Limited. All rights reserved.