This command is used to maximize or restore the chart for the current row of the template.
Syntax
CHART number
Valid options for the number parameter are:
number |
Explanation |
any integer |
Maximizes the current chart for the designated number of seconds (number) and then returns the chart to its original size. |
-1 |
Maximizes the current chart. The chart remains maximized until one of the following occurs: • The formula CHART -2 is encountered. • The template logic moves to a cell on another row of the template. |
-2 |
Restores the current chart to its original size. |
Return value
This command returns the number 0.
Notes
Caution: Do not use the CHART command and the SAVEROW or SAVEALL command in the same cell. Doing so could provide unexpected results. Instead, the cell that contains a SAVEROW or SAVEALL command may be followed by a cell containing the CHART command. |
When using a template to access external data from the SPC Charts and Reports module, this command will be ignored.
See also: SAVECHT
Example
CHART 30
This formula maximizes the current chart for 30 seconds and then returns the chart to its original size.