Difference between revisions of "Data plot of live data via AJAX"

From JSXGraph Wiki
Jump to navigationJump to search
(New page: <html> <link rel="stylesheet" type="text/css" href="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraph.css" /> <script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/pro...)
 
Line 3: Line 3:
 
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/prototype.js"></script>
 
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/prototype.js"></script>
 
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
 
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<div id="jxgbox" class="jxgbox" style="width:700px; height:400px; float:left"></div>
+
<div id="jxgbox" class="jxgbox" style="width:700px; height:400px;"></div>
   <p style="float:right">
+
   <form>
 
     <input type="button" value="Start" onClick="Start()">  
 
     <input type="button" value="Start" onClick="Start()">  
 
     <input type="button" value="Stop" onClick="Stop()">  
 
     <input type="button" value="Stop" onClick="Stop()">  
   </p>
+
   </form>
   <p id='output' style="float:right; height:200px; width:10em;">Statistics:<br>
+
   <p id='output'>Statistics:<br></p>
 
<script language="JavaScript">
 
<script language="JavaScript">
 
         brd = JXG.JSXGraph.initBoard('jxgbox', {originX: 20, originY: 300, unitX: 10, unitY: 10});
 
         brd = JXG.JSXGraph.initBoard('jxgbox', {originX: 20, originY: 300, unitX: 10, unitY: 10});

Revision as of 16:40, 2 December 2008

Statistics: