Real-time graphing: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 16: | Line 16: | ||
t = transport.responseText; | t = transport.responseText; | ||
a = parseFloat(t); | a = parseFloat(t); | ||
if (x.length< | if (x.length<30) { | ||
x.push(x.length); | x.push(x.length); | ||
} else { | } else { | ||
Line 28: | Line 28: | ||
} | } | ||
brd.update(); | brd.update(); | ||
}; | }; | ||
}}); | }}); | ||
Line 39: | Line 38: | ||
Start(); | Start(); | ||
</jsxgraph> | </jsxgraph> | ||
[[Category:Examples]] | [[Category:Examples]] | ||
[[Category:Charts]] | [[Category:Charts]] |
Revision as of 08:11, 18 December 2009