From 1fd4de1b25398954e9ab43e54d0d0fdf1b5cfce0 Mon Sep 17 00:00:00 2001 From: Frank Wuerthwein Date: Sat, 14 Mar 2009 20:01:55 -0400 Subject: flot-0.6pre@147 --- examples/graph-types.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'examples/graph-types.html') diff --git a/examples/graph-types.html b/examples/graph-types.html index 64aa0e9..b3c3818 100644 --- a/examples/graph-types.html +++ b/examples/graph-types.html @@ -4,7 +4,7 @@ Flot Examples - + @@ -36,7 +36,11 @@ $(function () { var d5 = []; for (var i = 0; i < 14; i += 0.5) d5.push([i, Math.sqrt(i)]); - + + var d6 = []; + for (var i = 0; i < 14; i += 0.5 + Math.random()) + d6.push([i, Math.sqrt(2*i + Math.sin(i) + 5)]); + $.plot($("#placeholder"), [ { data: d1, @@ -58,6 +62,10 @@ $(function () { data: d5, lines: { show: true }, points: { show: true } + }, + { + data: d6, + lines: { show: true, steps: true } } ]); }); -- cgit v1.2.3-2-g168b