Convert Pixel to Data Coordinates
Posted by Admin - on 21 March 2014 11:20 AM

SciChart provides a clean and simple API to transform pixels to data-values and vice versa via the AxisBase.GetCurrentCoordinateCalculator() method.

Where Pixel Coordinates are measured from

It is important to note when converting Pixels to Data Coordinates and vice versa that pixels are measured from the top-left inside corner of the chart. So, the pixel coordinate (0,0) corresponds to the data-value at (XAxis.VisibleRange.Min, YAxis.VisibleRange.Max), and the pixel coordinate (width, height) corresponds to the data-value at (XAxis.VisibleRange.Max, YAxis.VisibleRange.Min).

For further information, please see our documentation Axis APIs - Convert Pixel to Data Coordinates

(4 vote(s))
Not helpful


Not sure where to start? Contact us, we are happy to help!


SciChart Ltd, 16 Beaufort Court, Admirals Way, Docklands, London, E14 9XL. Email: Legal Company Number: 07430048, VAT Number: 101957725