SetData method: Timeline class
Syntax
SetData({Record_Name | &Rowset})
Description
Use the SetData method to specify where the data for the chart is coming from.
You can use either a record name or an already instantiated, populated rowset. In general, specify a record when building a chart from page data and a rowset when building a chart from a standalone rowset.
If you make a change to the underlying data of a chart, call the SetData method again to update the chart.
Parameters
| Parameter | Description |
|---|---|
|
Record_Name |
Specify the name of a record to be used to populate the timeline with data. |
|
&Rowset |
Specify the name of an already instantiated rowset to populate the timeline with data. This is generally a standalone rowset. |
Returns
None.
Example
&oChart.SetData(Record.QE_COL_MULTI_2Y);