How to: Display a Crosshair Cursor on a Chart Control
The following example demonstrates how to display a crosshair cursor on the LineSeries2D chart and show the current series coordinates on the crosshair labels.
To accomplish this task, you need to convert mouse coordinates to diagram coordinates and vice versa using the XYDiagram2D.PointToDiagram and XYDiagram2D.DiagramToPoint methods accordingly.
After the coordinate transformation is done, it becomes possible to draw the crosshair cursor on the diagram and do other required customizations that are shown in code.