Selection of range

Oystein Bjorke 10 years ago 0
This discussion was imported from CodePlex

amity2001 wrote at 2012-10-09 08:08:

First of all, thank you very much for such a great library.

I am looking for feature of selection of range in graph.

Is it possible to select particular area on graph similar to rectangular zooming by dragging mouse with middle button?

Please refer similar feature of FLOT library here, http://people.iola.dk/olau/flot/examples/selection.html

Thanks in advance.


objo wrote at 2012-10-09 21:08:

Yes, this should be possible by handling mouse events on the PlotModel and modifying a RectangleAnnotation. See the mouse event examples in the example browser, which do almost the same thing.


objo wrote at 2012-10-09 21:52:

See the new example in the the example browsers: "Mouse events | Select range"