diff options
| author | onefang | 2019-12-10 14:04:36 +1000 |
|---|---|---|
| committer | onefang | 2019-12-10 14:04:36 +1000 |
| commit | 4d7b13259c22eb81eb4e9904a880cd81b79df49d (patch) | |
| tree | 1af3ed137ef9baaaa580ba26a1004a57270aba39 /type/GenericStacked.class.php | |
| parent | Add some basic instructions for active graph. (diff) | |
| download | apt-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.php | 2 |
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 | ||
