SetSelectedData method: Chart class

Syntax

SetSelectedData(Record_Name.Field_Name)

Description

Use the SetSelectedData method to redraw a chart while maintaining which data items were previously selected by the user. The specified field must be a single-character String storing the value Y or N.

The information on which data items have been selected by the user are returned in the aSelections property: ChartClientState class property of the ChartClientState class as an array of String.

Parameters

Parameter Description

Record_Name.Field_Name

Specify the name of the record and field that indicates whether this data item is selected as one of these two String values:

  • Y

  • N

Returns

None.

Example

&oChart.SetSelectedData(QE_CHARTPROPS.QE_SELECTED);