Chart.toNonVirtualPoint Method
Converts a pixel position modified by the viewport if currently zoomed in to a position relative to the edges of the chart, converting a position along
the chart's scrolled axes to a position as displayed by the screen.
Parameters
- point
-
Type: Object
An object with properties:
x [type: Number] - The number of pixels to the right of the left edge of the chart in addition to the number of pixels the viewport is scrolled to the left.
y [type: Number] - The number of pixels below the top edge of the chart in addition to the number of pixels the viewport is scrolled up.
Return Value
Type: Object
An object with properties:
x [type: Number] - The number of pixels to the right of the left edge of the chart.
y [type: Number] - The number of pixels below the top edge of the chart.