GetChart function
Syntax
GetChart(RecordName.FieldName)
Description
Use the GetChart function to get a reference to a Chart object.
A chart must be associated with a record and field merely so that the chart object can be instantiated in PeopleCode. Which record and field you use doesn't matter. Commonly, the same derived/work record is used for all the charts in an application.
Parameters
| Parameter | Description |
|---|---|
|
RecordName.FieldName |
Specify the record and field name associated with the chart. |
Returns
A reference to a Chart object.
Example
&MyChart = GetChart(CHARTREC_WRK.CHART_FLD);
Related Topics