klyn.gui.windows.charts.KlynPlotWidget.legend
method
public legend(location as String = "best", visible as Boolean = true) as Void
Description

Shows a legend, choosing a low-overlap corner by default.

Parameters
ParameterDescription
location"best", "upper right", "upper left", "lower right" or "lower left".
visibleWhether to display it.
Throws
  • ValueException for unsupported locations. Example: chart.legend("upper right")