WithChartItems (SetSeriesEnabled)
Controls whether a specific series in the currently initialised chart definition should be enabled or disabled. A disabled series will not appear in the rendered chart and cannot be edited using WithChartItems.
Syntax
WithChartItems( InstructionType, SeriesName, SeriesEnabled );
Parameters
Parameter Name | Type | Description | Optional? | Default Value |
---|---|---|---|---|
InstructionType | Integer or String | Must be set to either the integer 13 or the string "SetSeriesEnabled". | No | n/a |
SeriesName | String | The name of the intended series. | No | n/a |
SeriesEnabled | Boolean | Determines whether the series 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.