SetDataSeries method: Chart class

Syntax

SetDataSeries(Record_Name.Field_Name)

Description

Use the SetDataSeries method to specify the name of the field containing the series values. Every distinct value in this field is considered a unique series.

The series is plotted in the order given by the record.

By default, the legend is populated by the value of this field.

If this value is Null, the system assumes there is only one series to plot.

Parameters

Parameter Description

Record_Name.Field_Name

Specify the name of the record, and the field on that record, that contains the series values for the chart.

Returns

None.

Example

&MYCHART.SetDataSeries(MYRECORD.MYSERIES);