MindFusion.Charting for JavaScript Programmer's Guide
Renderer2D.getPixel 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 getPixel (seriesIndex, dataIndex, xAxis, yAxis, component)

 Parameters

seriesIndex

Type: Number
An integer index of a Series within the list of series rendered by this Renderer2D.

dataIndex

Type: Number
An integer index of the data item in specified series.

xAxis

Type: Axis
An Axis reference specifying the X axis.

yAxis

Type: Axis
An Axis reference specifying the Y axis.

component

Type: Component
An instance of Plot2D or derived class.

 Return Value

Type: Point
A Point containing Plot2D coordinates corresponding to specified data item.

 See Also

Renderer2D Members
Renderer2D Class
MindFusion.Charting Namespace