diff options
author | Poil | 2014-05-18 12:28:34 +0200 |
---|---|---|
committer | Poil | 2014-05-18 12:28:34 +0200 |
commit | 01039a24a6cc88a828f20647ae6dda5ee15a0e09 (patch) | |
tree | 05f85852be65701a0fe154b02fe68716e00f166d /graph.php | |
parent | plugin/libvirt: show (v)CPU time in milliseconds (diff) | |
download | apt-panopticon_cgp-01039a24a6cc88a828f20647ae6dda5ee15a0e09.zip apt-panopticon_cgp-01039a24a6cc88a828f20647ae6dda5ee15a0e09.tar.gz apt-panopticon_cgp-01039a24a6cc88a828f20647ae6dda5ee15a0e09.tar.bz2 apt-panopticon_cgp-01039a24a6cc88a828f20647ae6dda5ee15a0e09.tar.xz |
Add base option (1GB=1024Mo)
Diffstat (limited to 'graph.php')
-rw-r--r-- | graph.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -92,6 +92,9 @@ if (isset($plugin_json[$type]['datasize']) and $plugin_json[$type]['datasize']) | |||
92 | if (isset($plugin_json[$type]['scale'])) | 92 | if (isset($plugin_json[$type]['scale'])) |
93 | $obj->scale = $plugin_json[$type]['scale']; | 93 | $obj->scale = $plugin_json[$type]['scale']; |
94 | 94 | ||
95 | if (isset($plugin_json[$type]['base'])) | ||
96 | $obj->base = $plugin_json[$type]['base']; | ||
97 | |||
95 | if (isset($plugin_json[$type]['legend_format'])) | 98 | if (isset($plugin_json[$type]['legend_format'])) |
96 | $obj->rrd_format = $plugin_json[$type]['legend_format']; | 99 | $obj->rrd_format = $plugin_json[$type]['legend_format']; |
97 | 100 | ||