Home forums Using CanvasJS Select 2 points on a series for analysis Reply To: Select 2 points on a series for analysis

#9950

Sanjoy
Moderator

Hi,

For storing dataPoints after shift+click you can use click event along with window.event.shiftKey. Here is an example with zoom-Pan.

And for reading data from a file you can refer following threads and this JSFiddle.
http://canvasjs.com/forums/topic/how-can-i-plot-values-from-txt-file/
http://canvasjs.com/forums/topic/graph-a-csv-file/#post-6371