Google style chart - interactive: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 25: Line 25:
                 );  
                 );  
     p.num = i;
     p.num = i;
     p.highlight = function() {     
     p.rendNode.onclick = function() {     
         var v = prompt("New value:",this.Y())*1.0;
         var v = prompt("New value:",this.Y())*1.0;
         this.setPosition(JXG.COORDS_BY_USER,this.X(),v);
         this.setPosition(JXG.COORDS_BY_USER,this.X(),v);

Revision as of 07:50, 6 July 2011