Gets the coordinates of specified data item when mapped to a Plot2D pixel.
Namespace: MindFusion.Charting
File: Renderer2D.js
JavaScript Copy Code |
---|
function getPixel1 (valueX, xAxis, valueY, yAxis, component) |
Type: Number
The X value of data item in logical coordinate system.
Type: Axis
The X Axis from which logical value is mapped to plot's actual width.
Type: Number
The Y value of data item in logical coordinate system.
Type: Axis
The Y Axis from which logical value is mapped to plot's actual height.
Type: Component
An instance of Plot2D or derived class.
Type: Point