CT UPDATE CHART

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next

version 1


CT UPDATE CHART (area; object; displayAlert)

ParameterTypeDescription
areaLongint4D Chart area
objectLongintObject ID
displayAlertIntegerDisplay an alert to the user?
0 = No
1 = Yes

Description

The CT UPDATE CHART command updates a chart created from data in the database. This command is the equivalent of the Update menu command in the Chart menu.

This command updates only charts created by the user from fields in the database or programmatically using the CT Chart selection or CT Chart data functions.

The chart is updated using the records in the current selection of the table being graphed.

If displayAlert equals 1, an alert box is presented to the user, who can accept or cancel the action. If displayAlert equals 0, no alert box is presented.

Example

This example changes the selection of the table being graphed and updates the graph to display the changes.

   REDUCE SELECTION ([Statistics];350)
   CT UPDATE CHART (Area;$ChartID;0)

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next