Chart.plottingPixelsToScreenPixels Method
Gets the pixel location in screen coordinates for the specified plotting coordinates returned by axes,
which may be different if the X and Y axes are inverted or for circular charts.
Parameters
- xAxisPixel
-
Type: Number - May be null
The plotting pixel coordinate for the X axis.
- yAxisPixel
-
Type: Number - May be null
The plotting pixel coordinate for the Y axis.
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 or its border.
y [type: Number] - The number of pixels below the top edge of the chart or its border.