Add In/Out to multiport graph

- Add In/Out text and color boxes to multiport bit graph
This commit is contained in:
Lucas Rolff
2016-06-15 15:20:19 +02:00
parent 9391b75e19
commit f5d9c5e48b

View File

@ -87,14 +87,14 @@ if ($i) {
// $rrd_options .= " LINE1.25:dout".$format."#".$colour_line_out.":";
}
else {
$rrd_options .= ' AREA:in'.$format.'#'.$colour_area_in.':';
$rrd_options .= " COMMENT:'bps Now Ave Max 95th %\\n'";
$rrd_options .= ' AREA:in'.$format.'#'.$colour_area_in.':In ';
// $rrd_options .= " LINE1.25:in".$format."#".$colour_line_in.":In\ ";
$rrd_options .= ' GPRINT:in'.$format.':LAST:%6.2lf%s';
$rrd_options .= ' GPRINT:in'.$format.':AVERAGE:%6.2lf%s';
$rrd_options .= ' GPRINT:in'.$format.':MAX:%6.2lf%s';
$rrd_options .= " GPRINT:95thin:%6.2lf%s\\\\n";
$rrd_options .= ' AREA:dout'.$format.'#'.$colour_area_out.':';
$rrd_options .= ' AREA:dout'.$format.'#'.$colour_area_out.':Out';
// $rrd_options .= " LINE1.25:dout".$format."#".$colour_line_out.":Out";
$rrd_options .= ' GPRINT:out'.$format.':LAST:%6.2lf%s';
$rrd_options .= ' GPRINT:out'.$format.':AVERAGE:%6.2lf%s';