From 7e35d8d7574dba548bec3e5e3b8f8fa9bfcfa1d3 Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Sat, 5 Jul 2008 14:38:22 +0000 Subject: [PATCH] Make the graphs prettier --- config/conf.xml | 4 ++- graphgen.php | 97 ++++++++++++++++++++++++++++++++++++++++++-------------- lib/Operator.php | 22 ++++++++++--- 3 files changed, 93 insertions(+), 30 deletions(-) diff --git a/config/conf.xml b/config/conf.xml index 588183153..3d96910c2 100644 --- a/config/conf.xml +++ b/config/conf.xml @@ -1,5 +1,5 @@ - + Storage System Settings @@ -14,6 +14,8 @@ + + Menu Settings _("Number of Calls by Month"), + 'axisX' => _("Month"), + 'axisY' => _("Number of Calls"), + ); break; case 'minutes': - return _("Total Minutes Used"); + return array( + 'title' => _("Total Minutes Used by Month"), + 'axisX' => _("Month"), + 'axisY' => _("Minute"), + ); break; case 'failed': - return _("Number of Failed Calls"); + return array( + 'title' => _("Number of Failed Calls by Month"), + 'axisX' => _("Month"), + 'axisY' => _("Failed Calls"), + ); break; } } -- 2.11.0