MindFusion.Charting for JavaScript Programmer's Guide
StackRenderer.getPixel Method
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

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

  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

StackRenderer Members
StackRenderer Class
MindFusion.Charting Namespace