aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/bind.php
diff options
context:
space:
mode:
authorPim van den Berg2011-02-05 20:01:26 +0100
committerPim van den Berg2011-02-05 20:01:26 +0100
commitb1e34bd1868be418ef5ec26683a8d07f22cebd51 (patch)
treec4f7616f7159b71af7a1260b3e049af0fc29d507 /plugin/bind.php
parentplugin/dns: generate colors in type dns_opcode (diff)
downloadapt-panopticon_cgp-b1e34bd1868be418ef5ec26683a8d07f22cebd51.zip
apt-panopticon_cgp-b1e34bd1868be418ef5ec26683a8d07f22cebd51.tar.gz
apt-panopticon_cgp-b1e34bd1868be418ef5ec26683a8d07f22cebd51.tar.bz2
apt-panopticon_cgp-b1e34bd1868be418ef5ec26683a8d07f22cebd51.tar.xz
replace function generate_colors by rainbow_colors
When no colors are defined they will be generated by function rainbow_colors.
Diffstat (limited to 'plugin/bind.php')
-rw-r--r--plugin/bind.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugin/bind.php b/plugin/bind.php
index 2550918..0eb0a0d 100644
--- a/plugin/bind.php
+++ b/plugin/bind.php
@@ -10,7 +10,6 @@ require_once 'inc/collectd.inc.php';
10$obj = new Type_GenericStacked($CONFIG); 10$obj = new Type_GenericStacked($CONFIG);
11$obj->width = $width; 11$obj->width = $width;
12$obj->heigth = $heigth; 12$obj->heigth = $heigth;
13$obj->generate_colors();
14 13
15$obj->rrd_title = sprintf('%s/%s', $obj->args['pinstance'], $obj->args['type']); 14$obj->rrd_title = sprintf('%s/%s', $obj->args['pinstance'], $obj->args['type']);
16$obj->rrd_format = '%5.1lf%s'; 15$obj->rrd_format = '%5.1lf%s';