ChartingExtensions

View as Markdown

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

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

ChartingExtensions Helper Methods

MethodDescription
ConvertFromHorizontalPixelsConverts a horizontal coordinate (x) from device pixels to application pixels
ConvertFromVerticalPixelsConverts a vertical coordinate (y) from device pixels to application pixels
ConvertToHorizontalPixelsConverts a horizontal coordinate (x) in application pixels to device pixels
ConvertToVerticalPixelsConverts a vertical coordinate (y) in application pixels to device pixels