Search
Renderer2D.getPixel1 Method
See Also
 






Gets the coordinates of specified data item when mapped to a Plot2D pixel.

Namespace: MindFusion.Charting
File: Renderer2D.js

 Syntax

JavaScript  Copy Code

function getPixel1 (valueX, xAxis, valueY, yAxis, component)

 Parameters

valueX

The X value of data item in logical coordinate system.

xAxis

The X Axis from which logical value is mapped to plot's actual width.

valueY

The Y value of data item in logical coordinate system.

yAxis

The Y Axis from which logical value is mapped to plot's actual height.

component

An instance of Plot2D or derived class.

 Return Value

 See Also