aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/type/GenericStacked.class.php
diff options
context:
space:
mode:
authoronefang2019-12-10 14:04:36 +1000
committeronefang2019-12-10 14:04:36 +1000
commit4d7b13259c22eb81eb4e9904a880cd81b79df49d (patch)
tree1af3ed137ef9baaaa580ba26a1004a57270aba39 /type/GenericStacked.class.php
parentAdd some basic instructions for active graph. (diff)
downloadapt-panopticon_cgp-4d7b13259c22eb81eb4e9904a880cd81b79df49d.zip
apt-panopticon_cgp-4d7b13259c22eb81eb4e9904a880cd81b79df49d.tar.gz
apt-panopticon_cgp-4d7b13259c22eb81eb4e9904a880cd81b79df49d.tar.bz2
apt-panopticon_cgp-4d7b13259c22eb81eb4e9904a880cd81b79df49d.tar.xz
A few style tweaks, mostly to a dark theme.
Diffstat (limited to 'type/GenericStacked.class.php')
-rw-r--r--type/GenericStacked.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/type/GenericStacked.class.php b/type/GenericStacked.class.php
index 421135c..24055da 100644
--- a/type/GenericStacked.class.php
+++ b/type/GenericStacked.class.php
@@ -43,7 +43,7 @@ class Type_GenericStacked extends Type_Base {
43 $c = 0; 43 $c = 0;
44 foreach ($sources as $source) { 44 foreach ($sources as $source) {
45 $color = is_array($this->colors) ? (isset($this->colors[$source])?$this->colors[$source]:$this->colors[$c++]) : $this->colors; 45 $color = is_array($this->colors) ? (isset($this->colors[$source])?$this->colors[$source]:$this->colors[$c++]) : $this->colors;
46 $color = $this->get_faded_color($color); 46// $color = $this->get_faded_color($color);
47 $rrdgraph[] = sprintf('AREA:area_%s#%s', crc32hex($source), $color); 47 $rrdgraph[] = sprintf('AREA:area_%s#%s', crc32hex($source), $color);
48 } 48 }
49 49