Search
Renderer2D.getPixel Method
See Also
 






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

Namespace: com.mindfusion.charting
File: com.mindfusion.charting

 Syntax

Java  Copy Code

protected Point2D getPixel (
    double valueX,
    Axis xAxis,
    double valueY,
    Axis yAxis,
    Component component
)

 Parameters

valueX

The X value of the data item in the logical coordinate system.

xAxis

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

valueY

The Y value of the data item in the logical coordinate system.

yAxis

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

component

An instance of Plot2D or derived class.

 Return Value

A Point2D with the Plot2D coordinates corresponding to the specified data item.

 See Also