From 881a1bf5cce4a217d10723c0ffc6521e2c2949b8 Mon Sep 17 00:00:00 2001 From: "olau@iola.dk" Date: Fri, 7 Dec 2007 11:07:57 +0000 Subject: [PATCH] Mention how to disable ticks git-svn-id: https://flot.googlecode.com/svn/trunk@24 1e0a6537-2640-0410-bfb7-f154510ff394 --- API.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/API.txt b/API.txt index ab4a0cc..8919cab 100644 --- a/API.txt +++ b/API.txt @@ -174,6 +174,10 @@ Or like this (you can mix the two if you like): ticks: [[0, "zero"], [1.2, "one mark"], [2.4, "two marks"]] +You can disable the ticks by providing an empty array: + + ticks: [] + For extra flexibility you can specify a function as the "ticks" parameter. The function will be called with an object with the axis min and max and should return a ticks array. Here's a simplistic tick