WithChartItems (RemoveDataPoint)

Deletes a specific data point from a series in the currently initialised chart definition based on its index number. This index is assigned to all data points based on the order in which they were added, beginning from 0.

Syntax

WithChartItems( InstructionType, SeriesName, DataPointIndex );

Parameters

Parameter Name Type Description Optional? Default Value
InstructionType Integer or String Must be set to either the integer 22 or the string "RemoveDataPoint". 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 delete. No n/a

Output

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