WithChartItems (SetSeriesColour)

Applies a colour to a series in the currently initialised chart definition.

This instruction requires that a template series is configured to use the Definition colour override setting.

Syntax

WithChartItems( InstructionType, SeriesName, ColourName );

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
ColourName String The name of a standard HTML colour to apply. For a full list of valid colours, refer to this MSDN article. No n/a

Output

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