Commit f20ab627 authored by olau@iola.dk's avatar olau@iola.dk

Add a note about getOptions() being useful for changing the selection color...

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
parent d2b0d36e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment