WithChartItems (SetChartAreaItem - ChartArea)

Enables or disables a chart area in the currently initialised chart definition.

Syntax

WithChartItems( InstructionType, ChartAreaName, InstructionSubType, ChartAreaEnabled );

Parameters

Parameter Name Type Description Optional? Default Value
InstructionType Integer or String Must be set to either the integer 28 or the string "SetChartAreaItem". No n/a
ChartAreaName String The name of the chart area. No n/a
InstructionSubType Integer or String Must be set to either the integer 1 or the string "ChartArea". No n/a
ChartAreaEnabled Boolean Determines if the chart area should be enabled (1/True) or disabled (0/False). No n/a

Output

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