From 6fcfb7c04d32e1c8b26a312295bf7ac3ec2d2ad7 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 13 Jul 2018 19:06:45 +0200 Subject: Fixed many permissions and began admin interface --- .../Flot/examples/selection/index.html | 152 +++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 public/bower_components/Flot/examples/selection/index.html (limited to 'public/bower_components/Flot/examples/selection/index.html') diff --git a/public/bower_components/Flot/examples/selection/index.html b/public/bower_components/Flot/examples/selection/index.html new file mode 100644 index 0000000..48db7d3 --- /dev/null +++ b/public/bower_components/Flot/examples/selection/index.html @@ -0,0 +1,152 @@ + + + + + Flot Examples: Selection + + + + + + + + + + + +
+ +
+
+
+ +

1000 kg. CO2 emissions per year per capita for various countries (source: Wikipedia).

+ +

Flot supports selections through the selection plugin. You can enable rectangular selection or one-dimensional selection if the user should only be able to select on one axis. Try left-click and drag on the plot above where selection on the x axis is enabled.

+ +

You selected:

+ +

The plot command returns a plot object you can use to control the selection. Click the buttons below.

+ +

+ + +

+ +

Selections are really useful for zooming. Just replot the chart with min and max values for the axes set to the values in the "plotselected" event triggered. Enable the checkbox below and select a region again.

+ +

+ +
+ + + + + -- cgit v1.2.3