Search
StackRenderer.getPixel Method
See Also
 






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

Namespace: MindFusion.Charting
File: StackRenderer.js

 Syntax

JavaScript  Copy Code

function getPixel (seriesIndex, dataIndex, xAxis, yAxis, component)

 Parameters

seriesIndex

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

dataIndex

An integer index of the data item in 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 Point containing Plot2D coordinates corresponding to specified data item.

 See Also