EJSC.Axis.pointToPixel

See Also

Top  Previous  Next

 

Definition

 

integer pointToPixel( number coordinate )

object pointToPixel( number coordinate, boolean ignoreBounds )

 

object result: {

               p: integer,

               outsideBounds: boolean

}

 

Description

 

Converts the chart coordinates based on axis data into the appropriate pixel position for that point (x or y depending on the orientation of the axis)

 

When ignoreBounds is not specified or specified as undefined, the result will be NaN if the coordinate provided is outside the currently displayed range.