WithChartItems (GetDataPointYValue)

Retrieves 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, DataPointYValueIndex );

Parameters

Parameter Name Type Description Optional? Default Value
InstructionType Integer or String Must be set to either the integer 17 or the string "GetDataPointYValue". 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
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 the specified Y-axis value; otherwise, it will return an empty string.