ChartDirector 6.0 (Ruby Edition)

JsXYChart.getYCoor


Usage

getYCoor(v [, yAxis ])

Description

Gets the y pixel coordinate given the y data value.

Arguments

ArgumentDefaultDescription
v(Mandatory)The y data value.
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 pixel coordinate of the y data value.