How to calculate the screen length of two points?

Jul 18, 2014 at 9:02 AM
Edited Jul 18, 2014 at 9:04 AM
Help me! I am using WindowsForms. My xAxis is DateTimeAxis, and yAxis is LinearAxis. I have two DataPoint, A and B, I want to calculate the screen length of A and B. In what way can i accomplish this? Thanks.! Image
My problem is like this. http://pan.baidu.com/s/1nt8yEwh
Jul 18, 2014 at 2:11 PM
This method in Axis will probably help:
xAxis.Transform(double x, double y, Axis yAxis);