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 5 months, 2 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #11389

    jproduction
    Member

    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.

    #11392

    Sanjoy
    Moderator

    jproduction,

    Sorry we don’t have this feature. You need to find it out mathematically.

    #11393

    jproduction
    Member

    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?
    Thanks.

    #11397

    Sanjoy
    Moderator

    Are you looking for markerColor with Scatter Chart. And it is not possible to access internal functions of library.

    #11401

    jproduction
    Member

    Scuse me Sanjoy, but if the javascript is able to draw the curve, it should be a function that does this inside canvasjs.min.js. Thanks.

    #11429

    Sanjoy
    Moderator

    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.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.