ChartDirector 6.0 (Ruby Edition)

JsXYChart.getXValue


Usage

getXValue(xCoor)

Description

Gets the x data value given the x 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
xCoor(Mandatory)The x pixel coordinate.

Return Value

The x data value at the x pixel coordinate.