Commit 1031cc02 authored by olau@iola.dk's avatar olau@iola.dk

Revert accidental commit of example changes

git-svn-id: https://flot.googlecode.com/svn/trunk@221 1e0a6537-2640-0410-bfb7-f154510ff394
parent d54a40c2
......@@ -21,28 +21,16 @@
<script id="source" language="javascript" type="text/javascript">
$(function () {
var c = 0;
function plot() {
++c;
var d1 = [];
for (var i = 0; i < 14; i += 0.5)
d1.push([i, Math.sin(i)]);
var d2 = [[0, 3], [4, 8], [8, 5], [9, 13]];
var d1 = [];
for (var i = 0; i < 14; i += 0.5)
d1.push([i, Math.sin(i)]);
// a null signifies separate line segments
var d3 = [[0, 12], [7, 12], null, [7, 2.5], [12, 2.5]];
var d2 = [[0, 3], [4, 8], [8, 5], [9, 13]];
$.plot($("#placeholder"), [ d1, d2, d3 ]);
// a null signifies separate line segments
var d3 = [[0, 12], [7, 12], null, [7, 2.5], [12, 2.5]];
$("p").text("" +c);
if (c < 1000)
setTimeout(plot, 10);
}
plot();
$.plot($("#placeholder"), [ d1, d2, d3 ]);
});
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment