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 (
    int seriesIndex,
    int dataIndex,
    Axis xAxis,
    Axis yAxis,
    Component component
)

 Parameters

seriesIndex

The zero-based index of the Series in the list of Series rendered by this Renderer2D.

dataIndex

The zero-based index of the data item in the specified Series.

xAxis

An Axis reference specifying the X axis.

yAxis

An Axis reference specifying the Y axis.

component

An instance of Plot2D or derived class.

 Return Value

A Point2D containing Plot2D coordinates corresponding to specified data item.

 See Also