Home › forums › Feature Requests & Feedback › How To Determine The Intersection Point Between a Curve And a Line
This topic contains 5 replies, has 2 voices, and was last updated by Sanjoy 2 years, 9 months ago.
Hi, i used a splineArea with a stripLines in axis Y. How can i determine the point where the line and the curve intersect? Thanks.
Sorry we don’t have this feature. You need to find it out mathematically.
And is there a way to find the function of the curve that passes through 4 points?
and last question is how to add a red point in my chart?
Are you looking for markerColor with Scatter Chart. And it is not possible to access internal functions of library.
We are using Bezier Curve for drawing Spline Curve. Am not able to find a way to know intersection point of spline and line. But you can look into the function renderSpline & getBezierPoints in our source code (canvasjs.js) for more information on the same.
You must be logged in to reply to this topic.