WithChartItems (UpdateSeries)

Assigns a series to a specific chart area in the currently initialised chart definition. If the specified series does not exist, a new one with no values will instead be created and assigned to the chart area.

Syntax

WithChartItems( InstructionType, SeriesName, ChartArea, SeriesEnabled );

Parameters

Parameter Name Type Description Optional? Default Value
InstructionType Integer or String Must be set to either the integer 5 or the string "UpdateSeries". No n/a
SeriesName String The name of an existing series, or the name to give the new series. No n/a
ChartArea String The name of the chart area to which the new series should be associated. No n/a
SeriesEnabled Boolean Determines whether the new series should start out as enabled. Yes 1/True

Output

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