diff options
author | Pim van den Berg | 2010-09-17 21:24:35 +0200 |
---|---|---|
committer | Pim van den Berg | 2010-09-17 21:24:35 +0200 |
commit | 10ad741a22797b6710be1091d9e502e71929f255 (patch) | |
tree | edb5d5046eba5de647f12e8c9480faa054dd09f7 /plugin/interface.php | |
parent | plugin/nfs: clean up some duplicate code (diff) | |
download | apt-panopticon_cgp-10ad741a22797b6710be1091d9e502e71929f255.zip apt-panopticon_cgp-10ad741a22797b6710be1091d9e502e71929f255.tar.gz apt-panopticon_cgp-10ad741a22797b6710be1091d9e502e71929f255.tar.bz2 apt-panopticon_cgp-10ad741a22797b6710be1091d9e502e71929f255.tar.xz |
automatic alignment of graph legend
Function fill_ds_names is renamed to parse_ds_names and now also
appends spaces to ds_names to make them equal of lenght.
Diffstat (limited to '')
-rw-r--r-- | plugin/interface.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/interface.php b/plugin/interface.php index da8a573..82b9f25 100644 --- a/plugin/interface.php +++ b/plugin/interface.php | |||
@@ -15,7 +15,7 @@ require_once 'inc/collectd.inc.php'; | |||
15 | $obj = new Type_GenericIO($CONFIG); | 15 | $obj = new Type_GenericIO($CONFIG); |
16 | $obj->data_sources = array('rx', 'tx'); | 16 | $obj->data_sources = array('rx', 'tx'); |
17 | $obj->ds_names = array( | 17 | $obj->ds_names = array( |
18 | 'rx' => 'Receive ', | 18 | 'rx' => 'Receive', |
19 | 'tx' => 'Transmit', | 19 | 'tx' => 'Transmit', |
20 | ); | 20 | ); |
21 | $obj->colors = array( | 21 | $obj->colors = array( |