does know example of how can start , stop moving graph clicking , re-clicking?
i want add event listener graph, clicking on page graph stops , re-clicking starts move.
-
i have added canvas use click listener. not know how write function.
got it!
here's updated jsfiddle: http://jsfiddle.net/qbdgb/31/
the thing red border canvas, click stop , restart graph. tell me if misunderstood question , i'll try fix problems.
changed make graph clickable:
document.getelementsbytagname('svg')[0].onclick=function() {
Comments
Post a Comment