hi
I have used your cross-hair example but trying to extend it and having issues
I boiled it down to the code example below
1) Get a mouse position
2) Get the data representing that position
3) For that data, get the mouse position
how can these return different values?
regards
martin
var plotAreaPanel = sender as ClipPanel;
var mousePosition = e.GetPosition(plotAreaPanel);
var dataAtMouse = _Chart.DefaultView.ChartArea.AxisX.ConvertPhysicalUnitsToData(mousePosition.X);
var physicalAtMouse = _Chart.DefaultView.ChartArea.AxisX.ConvertDataUnitsToPhysical(dataAtMouse);
if (mousePosition.X != physicalAtMouse)
{
Debug.Assert(false, "Should never happen");
}