If I understand the UI correctly, in a graph I can select the interval in seconds, and if I don’t select the “fix” checkbox that interval will be automatically adjusted if I change the viewing range.
That indeed works but not the way I would expect or prefer it If I display a 1 week period, with “Fixed interval: 9600” and “fixed” unchecked I do get 6h wide bars. But as soon as I simply shift the period (using the left-right arrows at the top) the interval goes back to what seems to be the default for a weekly graph, 900. Similarly if I click the "D"above the graph I get the 120s default for daily views.
Would it be possible to save the initial interval entered along with the graph, and to adjust it automatically so that its relative width to the viewing period length is maintained?
So for example if I choose a 1 day interval when viewing 1 month data, I would expect that clicking “W” above the graph would change the interval to 6h (1 day / 4).
In other terms the algorithm would preserve the “width” of each bar as the viewing period is adjusted…
Short of this, is it possible to change the 3600, 900, 120 interval defaults somewhere in emoncms’s configuration?
What do you think?