Home › forums › Using CanvasJS › Getting Y value between two X points.
This topic contains 3 replies, has 2 voices, and was last updated by markpx 5 months, 3 weeks ago.
I have this sample chart: https://codepen.io/markpx/pen/qGOBbr where I am displaying one point for each month of the year.
For example, I have a data point on 15 February, and another on 15 March, is it possible or anyone knowns a method to get the Y value of the spline at March 1st?
We are looking into your query and will get back to you at the earliest.
Please take a look at this JSFiddle.
Thank you, I was going with a more complicated solution that used too much cpu, yours seems to work great.
You must be logged in to reply to this topic.