SetSeriesLabels method: Chart class

Syntax

SetSeriesLabels(&Array_of_SeriesLabels)

Description

Use the SetSeriesLabels method to method to set the label for each series, which are specified by the SetDataYAxis method. These labels are displayed in the legend and tooltips.

Parameters

Parameter Description

&Array_of_SeriesLabels

Specify an already instantiated array of String values specifying the label for each series.

Note: The order of labels specified must correspond to the field order specified by the SetDataYAxis method.

Returns

None.

Example

&oChart.SetSeriesLabels(CreateArray("Actual", "Budgeted", "Forecast", "Quantity"));