Brushing - Selecting multiple data points with the mouse
This would be a fantastic feature - the ability to select multiple data points by creating an enclosure using the mouse. e.g.Outliers could be selected in one movement and used filter other data in the app.
See Stephen Few's Newsletter for more information - http://bit.ly/9A8wiD
Selection of points within a rectangle can be done with the current API, though it needs a few lines of custom code:
http://jsfiddle.net/highcharts/nsuA6/
-
I've updated http://jsfiddle.net/highcharts/nsuA6/ with a working file reference.
For your problem with a large dataset, can you show us a live sample?
-
Anonymous commented
It seems to be broken on large dataset due to no series[0].data. Any suggestions?Thanks!
-
Anonymous commented
Nevermind. Just needed a JQuery framework update. Now if only I could get the selection to all drag at the same time....
-
Anonymous commented
This appears to be broken. I would love to see this working again. Thank you so much for you efforts with draggable points.
-
ian commented
I think this works pretty well for scatter plots but seems to fail in column charts. Example (try dragging from 3rd point to 6th for instance):
Note: I've added plot lines on selection to see what is being returned in the selection event. yAxis seems fine.
-
kasik commented
it's great example. thank you. and how can i unselect selected(by brushing) items also with brushing?
-
Paul H commented
Thanks Torstein, this looks great. I look forward to trying it out.
-
Selection of points within a rectangle can be done with the current API, though it needs a few lines of custom code: http://jsfiddle.net/qwfZ9/28/