I am getting an error in console when I try to reload the chart on click of a button. Cant figure out why.
Uncaught TypeError: Cannot read property 'mouseIsDown' of undefined
I have created a jsfiddle for the same. The first click will draw the chart and on second click although it redraws the chart but there is a error in console.
Note: JSFiddle is just to replicate the situation I am facing.