WithChartItems (InitialiseChartArea)

Initialises a specific chart area. Doing this will make it the only active area in the currently initialised chart definition. Only one chart area can be initialised at a time, and the area must be closed using the CloseChartArea instruction to commit any changes made to it.

Syntax

WithChartItems( InstructionType, ChartArea );

Parameters

Parameter Name Type Description Optional? Default Value
InstructionType Integer or String Must be set to either the integer 10 or the string "InitialiseChartArea". No n/a
ChartArea String The name of the chart area to initialise. No n/a

Output

If successful, the function will return True; otherwise, it will return False.