javascript - how to get the Y value on the curve using flot js -
using flot js graphing library, can (x,y) position of mouse. given curve represented plot values, how can interpolated y value on curve given mouse position?
there's crosshair/tracking demo on pages. has updatelegend
method takes nearest x values @ crosshair line , linear interpolation.
Comments
Post a Comment