Highstock data grouping UI
Currently Highstock allows you to select a zoom factor (buttons on the top left), but the data grouping is automatically select.
I suggest to make it possible to have a data grouping UI similar to the range UI that lets a user choose/enforce the data grouping interval.
Additionally if automatic grouping is used and the user did not override the grouping, the currently used data grouping range is highlighted on the buttons.
-
A first step on the way, at least, would be to expose an API for the implementer to explicitly set the data grouping. How about some method like this:
Series.setDataGrouping('week', 2);
Where the first parameter is the grouping and the second one is the count? This one would be relatively simple to implement, and you can create your own GUI buttons for it.
-
Jared Scott commented
This is a very important and overlooked feature. By allowing the user to transform the data by both Zooming and Aggregating (grouping) we can save a ton of time querying the backend datasource. The groundwork is already there in highstock but just needs to be elicited in a more appropriate manner (i.e. grouping by established timeframes rather than by pixel widths)