From 3b80148d864fb5d363a0ba4858f5f9f4623f07e5 Mon Sep 17 00:00:00 2001 From: "olau@iola.dk" Date: Wed, 19 Dec 2007 12:17:28 +0000 Subject: [PATCH] Set zero tick git-svn-id: https://flot.googlecode.com/svn/trunk@38 1e0a6537-2640-0410-bfb7-f154510ff394 --- examples/setting-options.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/setting-options.html b/examples/setting-options.html index 98ed3f8..3166a6a 100644 --- a/examples/setting-options.html +++ b/examples/setting-options.html @@ -28,7 +28,7 @@ $(function () { var d1 = []; for (var i = 0; i < Math.PI * 2; i += 0.25) d1.push([i, Math.sin(i)]); - + var d2 = []; for (var i = 0; i < Math.PI * 2; i += 0.25) d2.push([i, Math.cos(i)]); @@ -45,7 +45,7 @@ $(function () { lines: { show: true }, points: { show: true }, xaxis: { - ticks: [[Math.PI/2, "\u03c0/2"], [Math.PI, "\u03c0"], [Math.PI * 3/2, "3\u03c0/2"], [Math.PI * 2, "2\u03c0"]] + ticks: [0, [Math.PI/2, "\u03c0/2"], [Math.PI, "\u03c0"], [Math.PI * 3/2, "3\u03c0/2"], [Math.PI * 2, "2\u03c0"]] }, yaxis: { noTicks: 10,