Commit Graph

4 Commits

Author SHA1 Message Date
Alexandre Derumier
b12ca796be rrd : init with timeframe from state manager
avoid to init the rrd with default timeframe,
then reload with timefrom state manager

this avoid to reload twice the rrds

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-02-24 06:12:13 +01:00
Stefan Priebe
22200378a0 fix 493a85a268
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2013-06-13 17:08:49 +02:00
Alexandre Derumier
493a85a268 rrd display : avoid 2 refresh
Currently when we open a new summary panel

- we display the rrd with default hour timeframe
- then we refresh it
- then we update from timeframe selector

With this patch:
- We display the rrd with timeframe from selector, or if not defined default hour
- We update from timeframe selector value if timeframe && cf are differents from current value

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2013-06-12 06:51:38 +02:00
Dietmar Maurer
aff192e6f5 imported from svn 'pve-manager/pve2' 2011-08-23 07:40:22 +02:00