Home › forums › Using CanvasJS › Get coordinates of a point › Reply To: Get coordinates of a point
You can find out the intersection points of the curves by solving the original equations of the curves intersecting each other. This will give you accurate result.
Many curve can pass through finite number of discontinuous dataPoints. CanvasJS uses approximate Bézier curve interpolation, to represent the curve passing through user given dataPoints. So, it’s almost impossible to construct an unique equation passing through the sample dataPoints and find intersection between two spline curve.
However, there is a workaround using Image processing and convertPixelToValue method (given in API). But this will only give you an approximate Intersecting coordinate of the curves.