I have one small feature request though. In my use case, it would be really nice if it was possible to have a adaptive resolution flag. What I mean in practice is that I would be able to load high-resolution data in my background ajax call (lets say the resolution is one datapoint every minute), but when showing the graph fully zoomed out, this can get a bit “crowdy” when the line is rendered. However, when showing the same data but an area zoomed in, you might want the full resolution data (without the need of an additional ajax-call).
This way, you can have lets say 5 minute resolution data (averages from the high-resolution data) when zoomed out, but higher resolution when zoomed in.