Google style chart: Difference between revisions

From JSXGraph Wiki
(New page: <html><form> <input type="button" value="Generate data" onClick="generateData()"> <br> <textarea id="eingabe" rows=11 cols=20> </textarea> <br> <input type="button" value="...)
 
No edit summary
Line 1: Line 1:
<html><form>
<html><form>
     <input type="button" value="Generate data" onClick="generateData()"> <br>
     <input type="button" value="Generate data" onClick="generateData()"> <br>
     <textarea id="eingabe" rows=11 cols=20>
     <textarea id="eingabe" rows=8 cols=20>
     </textarea> <br>
     </textarea> <br>
     <input type="button" value="Plot it" onClick="doIt()">  
     <input type="button" value="Plot it" onClick="doIt()">  
Line 7: Line 7:
<jsxgraph width="600" height="400">
<jsxgraph width="600" height="400">
         var graph1;
         var graph1;
         var brd = JXG.JSXGraph.initBoard('jxgbox', {originX: 20, originY: 300, unitX: 28, unitY: 50});
         var brd = JXG.JSXGraph.initBoard('jxgbox', {originX: 20, originY: 300, axis: true, unitX: 28, unitY: 50});


         function generateData() {
         function generateData() {

Revision as of 10:14, 9 May 2009