Difference between revisions of "Google style chart"

From JSXGraph Wiki
Jump to navigationJump to search
(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="...)
 
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 11:14, 9 May 2009