WithChartItems (SetSeriesChartType)

Defines the chart type of a series in the currently initialised chart definition.

If you change the type of one series, you must ensure any other series assigned to the same chart area are compatible with the new type.

Syntax

WithChartItems( InstructionType, SeriesName, ChartType );

Parameters

Parameter Name Type Description Optional? Default Value
InstructionType Integer or String Must be set to either the integer 8 or the string "SetSeriesColour". No n/a
SeriesName String The name of the series. No n/a
ChartType String The name of a chart type to apply, such as "Pie", "Bar", or "Line". Yes "Column"

Output

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