From d2b0d36e3a2ae64dca581ba21ca2870c665f62ba Mon Sep 17 00:00:00 2001 From: "olau@iola.dk" Date: Tue, 14 Dec 2010 16:52:26 +0000 Subject: [PATCH] Add a note about getOptions() being useful for changing options on-the-fly (hopefully adressing issue 370 by Mitja Koren) git-svn-id: https://flot.googlecode.com/svn/trunk@276 1e0a6537-2640-0410-bfb7-f154510ff394 --- API.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/API.txt b/API.txt index 7714723..fee8d3c 100644 --- a/API.txt +++ b/API.txt @@ -936,8 +936,11 @@ Flot to keep track of its state, so be careful. - getOptions() - Gets the options for the plot, in a normalized format with default - values filled in. + Gets the options for the plot, normalized, with default values + filled in. You get a reference to actual values used by Flot, so + if you modify the values in here, Flot will use the new values. + If you change something, you probably have to call draw() or + setupGrid() or triggerRedrawOverlay() to see the change. Hooks