WithChartItems (SetDataPointYValue)

Sets the Y-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, DataPointYValueIndex );

Parameters

Parameter Name Type Description Optional? Default Value
InstructionType Integer or String Must be set to either the integer 18 or the string "SetDataPointYValue". 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 Y-axis. No n/a
DataPointYValueIndex String The zero-based index of the intended value. This is only required if the data point has more than one Y-axis value. Yes (See Description) n/a

Output

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