Difference between revisions of "Google style chart - interactive"

From JSXGraph Wiki
Jump to: navigation, search
(Created page with "<jsxgraph width="647" height="400"> var graph1; var brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox:[-1,6,21,-1], axis: true}); function doIt() { var i, x1, y1; var ...")
 
Line 24: Line 24:
 
                     highlightFillColor:'#0077cc', style:6, name:'', fixed:true}
 
                     highlightFillColor:'#0077cc', style:6, name:'', fixed:true}
 
                 );  
 
                 );  
 +
    p.highlight = function() {   
 +
        var v = prompt("New value:",y1);
 +
    }
 
     points.push(p);
 
     points.push(p);
 
     x.push(x1);
 
     x.push(x1);

Revision as of 09:43, 6 July 2011