Add a note about getOptions() being useful for changing the selection color on-the-fly (from issue 370 reported by Mitja Koren)

git-svn-id: https://flot.googlecode.com/svn/trunk@277 1e0a6537-2640-0410-bfb7-f154510ff394
pull/1/head
olau@iola.dk 16 years ago
parent d2b0d36e3a
commit f20ab62742

@ -11,7 +11,9 @@ The plugin defines the following options:
Selection support is enabled by setting the mode to one of "x", "y" or
"xy". In "x" mode, the user will only be able to specify the x range,
similarly for "y" mode. For "xy", the selection becomes a rectangle
where both ranges can be specified. "color" is color of the selection.
where both ranges can be specified. "color" is color of the selection
(if you need to change the color later on, you can get to it with
plot.getOptions().selection.color).
When selection support is enabled, a "plotselected" event will be
emitted on the DOM element you passed into the plot function. The

Loading…
Cancel
Save