mirror of
https://github.com/manuelkasper/AS-Stats.git
synced 2025-02-20 11:44:12 +08:00
add an option to not decolore graph
This commit is contained in:
parent
f3bd9f36bd
commit
ee24f5cced
@ -22,6 +22,8 @@ $asset_cache_life = "604800"; # 604800 seconds = 7 days
|
||||
|
||||
$compat_rrdtool12 = false; # compatibility with RRDtool 1.2 (show95th will not work if this is set)
|
||||
|
||||
$decolore = true; #decolore the "negative" part of graphs (only usefull if $outispositive is true)
|
||||
|
||||
/* Custom links to be shown for each AS. You can use %as% as a
|
||||
placeholder for the ASN. */
|
||||
$customlinks = array(
|
||||
|
@ -107,7 +107,7 @@ if ($compat_rrdtool12) {
|
||||
/* generate graph area/stack for inbound */
|
||||
$i = 0;
|
||||
foreach ($knownlinks as $link) {
|
||||
if ($outispositive)
|
||||
if ($outispositive && $decolore)
|
||||
$col = $link['color'] . "BB";
|
||||
else
|
||||
$col = $link['color'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user