Difference between revisions of "Google style chart - interactive"

From JSXGraph Wiki
Jump to: navigation, search
Line 24: Line 24:
 
                     highlightFillColor:'#0077cc', style:6, name:'', fixed:true}
 
                     highlightFillColor:'#0077cc', style:6, name:'', fixed:true}
 
                 );  
 
                 );  
     /*
+
     p.num = i;
 
     p.highlight = function() {     
 
     p.highlight = function() {     
         var v = prompt("New value:",y1);
+
         var v = prompt("New value:",y1)*1.0;
         this.setPosition(JXG.COORDS_BY_USER,this.X(),v*1.0);
+
         this.setPosition(JXG.COORDS_BY_USER,this.X(),v);
 +
        y[this.num] = v;
 +
        brd.update();
 
     }
 
     }
    */
 
  
 
     points.push(p);
 
     points.push(p);

Revision as of 09:48, 6 July 2011