MindFusion.Charting for JavaScript Programmer's Guide
Renderer2D.getPixel1 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: Renderer2D.js

## Syntax

JavaScript Copy Code
function getPixel1 (valueX, xAxis, valueY, yAxis, component)

### Parameters

valueX

  Type: Number
  The X value of data item in logical coordinate system.

xAxis

  Type: Axis
  The X Axis from which logical value is mapped to plot's actual width.

valueY

  Type: Number
  The Y value of data item in logical coordinate system.

yAxis

  Type: Axis
  The Y Axis from which logical value is mapped to plot's actual height.

component

  Type: Component
  An instance of Plot2D or derived class.

### Return Value

Type: Point

## See Also

Renderer2D Members
Renderer2D Class
MindFusion.Charting Namespace