Home > Back-end >  Chart how to obtain the distance between two points?
Chart how to obtain the distance between two points?

Time:11-02

Using draw points in your chart, I paint a lot of points, want to by clicking on the chart to get near a point, and calculate the distance with its vertical position of the point, do you have a good idea?
thank you

CodePudding user response:

I haven't met, but A (x, y) and B (x, y) of the coordinates of two points should be able to get it, the calculation of two coordinates of linear distance should be able to calculate,
  • Related