ChartDirector 7.0 (ASP/COM/VB Edition)

JsXYChart.getYValue


Usage

getYValue(yCoor [, yAxis ])

Description

Gets the y data value given the y pixel coordinate.

This method always returns a numeric value. If the axis scale is a date/time scale, and you are expecting a date data type, please use JsChartViewer.NTime to convert the number to a Javascript Date object.

Arguments

ArgumentDefaultDescription
yCoor(Mandatory)The y pixel coordinate.
yAxis[Null]The y-axis to use to determine the pixel coordinates of data values. The y-axis may be obtained using JsXYChart.yAxis or JsXYChart.yAxis2. The default is to use the primary y-axis.

Return Value

The y data value at the y pixel coordinate.