ChartingExtensions

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Common > Charts >

ChartingExtensions

Previous page Return to chapter overview Next page

The ChartingExtensions class provides helper methods useful for converting a pixel coordinate from application-specific pixels (i.e., WPF coordinates) to Device Independent Pixels.

 

Note:  More information about the differences between application pixels and device pixels can be found on the Working with Pixel Coordinates page.

 

 

ChartingExtensions Helper Methods

ConvertFromHorizontalPixels

Converts a horizontal coordinate (x) from device pixels to application pixels

ConvertFromVerticalPixels

Converts a vertical coordinate (y) from device pixels to application pixels

ConvertToHorizontalPixels

Converts a horizontal coordinate (x) in application pixels to device pixels

ConvertToVerticalPixels

Converts a vertical coordinate (y) in application pixels to device pixels