WithChartItems (SetDataPointXValue)
Sets the X-axis value of a series data point 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, Value );
Parameters
Parameter Name | Type | Description | Optional? | Default Value |
---|---|---|---|---|
InstructionType | Integer or String | Must be set to either the integer 20 or the string "SetDataPointXValue". | No | n/a |
SeriesName | String | The name of the series that contains the intended data point. | No | n/a |
DataPointIndex | String | The zero-based index of the intended data point. | No | n/a |
Value | String | The value to set for the data point's X-axis. | No | n/a |
Output
If successful, the function will return True; otherwise, it will return False.