mirror of
https://github.com/manuelkasper/AS-Stats.git
synced 2025-02-20 11:44:12 +08:00
add cool vertical label
This commit is contained in:
parent
ed64edab88
commit
2058bfeb7a
@ -30,6 +30,11 @@ $cmd = "$rrdtool graph - " .
|
||||
"--slope-mode --alt-autoscale -u 0 -l 0 --imgformat=PNG --base=1000 --height=$height --width=$width " .
|
||||
"--color BACK#ffffff00 --color SHADEA#ffffff00 --color SHADEB#ffffff00 ";
|
||||
|
||||
if($outispositive)
|
||||
$cmd .= "--vertical-label '<- IN | OUT ->' ";
|
||||
else
|
||||
$cmd .= "--vertical-label '<- OUT | IN ->' ";
|
||||
|
||||
if (isset($_GET['v']) && is_numeric($_GET['v']))
|
||||
$cmd .= "--title IPv" . $_GET['v'] . " ";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user