Use the DiagramToPoint method to convert diagram coordinates of a point (measured in axis units) to the screen coordinates.
NoteFor the opposite conversion (of screen coordinates to diagram coordinates), use the PointToDiagram method.
This example demonstrates how to use a DiagramToPoint method to transform chart coordinates to screen coordinates.
C#:MainWindow.xaml.cs |
ControlCoordinates controlCoordinates = diagram.DiagramToPoint(diagramCoordinates.DateTimeArgument, seriesValue);
|