WithChartItems (GetDataPointXValue)

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

Parameters

Parameter Name Type Description Optional? Default Value
InstructionType Integer or String Must be set to either the integer 19 or the string "GetDataPointXValue". 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

Output

If successful, the function will return the specified X-axis value; otherwise, it will return an empty string.