Search
Renderer2D.GetPixel Method (Double, Axis, Double, Axis, Component)
See Also
 






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

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

protected Point GetPixel (
    double valueX,
    Axis xAxis,
    double valueY,
    Axis yAxis,
    Component component
)

Visual Basic  Copy Code

Protected Function GetPixel( _
    valueX As Double, _
    xAxis As Axis, _
    valueY As Double, _
    yAxis As Axis, _
    component As Component _
) As Point

 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