WithChartItems (SetDataPointItem - Marker)
Applies a marker to a specific data point from a series in the currently initialised chart definition.
Certain chart types, such as pie charts, are not capable of displaying markers.
Syntax
WithChartItems( InstructionType, SeriesName, DataPointIndex, InstructionSubType, MarkerType, MarkerSize, MarkerColourName, MarkerTransparency );
Parameters
| Parameter Name | Type | Description | Optional? | Default Value |
|---|---|---|---|---|
| InstructionType | Integer or String | Must be set to either the integer 23 or the string "SetDataPointItem". | No | n/a |
| SeriesName | String | The name of the series that containing the intended data point. | No | n/a |
| DataPointIndex | String | The zero-based index of the data point to update. This index is assigned to all data points based on the order in which they were added, beginning from 0. | No | n/a |
| InstructionSubType | Integer or String | Must be set to either the integer 2 or the string "Marker". | No | n/a |
| MarkerType | Integer | The integer that represents the type of marker to apply. | No | n/a |
| MarkerSize | Integer | The size of the marker in pixels. | No | n/a |
| MarkerColourName | String | A standard HTML colour to apply to the marker. For a full list of valid colours, refer to this MSDN article. | Yes | "Black" |
| MarkerTransparency | Integer | The level of transparency of the marker, ranging from 0 (invisible) to 255 (opaque). | Yes | 255 |
Output
If successful, the function will return True; otherwise, it will return False.