ChartAxis.previousPositionToValue Method

Gets the value for the given axis position.
 

Parameters

previousPosition

Type: Number
The axis position relative to the X or Y dimension, which may be reversed. If this is an unreversed Y axis, 0 is the start at the bottom of the plotting area and 1 is the end at the top of the plotting area. If this is an unreversed X axis, 0 is the start at the left of the plotting area and 1 is the end at the right of the plotting area. The axis position is relative to the entire length of the axis, even if zoomed in so that only part of it is visible.

Return Value


Type: Object - May be null
The value represented by the specified axis position; or null if none exists. 

Remarks

The axis position must be a number between 0 and 1 inclusive.