From 01039a24a6cc88a828f20647ae6dda5ee15a0e09 Mon Sep 17 00:00:00 2001 From: Poil Date: Sun, 18 May 2014 12:28:34 +0200 Subject: Add base option (1GB=1024Mo) --- graph.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'graph.php') diff --git a/graph.php b/graph.php index be46653..fbc93a7 100644 --- a/graph.php +++ b/graph.php @@ -92,6 +92,9 @@ if (isset($plugin_json[$type]['datasize']) and $plugin_json[$type]['datasize']) if (isset($plugin_json[$type]['scale'])) $obj->scale = $plugin_json[$type]['scale']; +if (isset($plugin_json[$type]['base'])) + $obj->base = $plugin_json[$type]['base']; + if (isset($plugin_json[$type]['legend_format'])) $obj->rrd_format = $plugin_json[$type]['legend_format']; -- cgit v1.1