chartLegend

fnChartLegend chartLegend(string position, string styleName = "")

Constructs a ChartLegend.

Parameters

positionLegend position (e.g. "end", "start", "top", "bottom").
styleNameOptional style name.

Returns

A new ChartLegend.