mirror of https://github.com/mikaku/Monitorix.git
fixed legend alignment in the main graph
This commit is contained in:
parent
c8c595e184
commit
1656cb0cc0
56
lib/zfs.pm
56
lib/zfs.pm
|
@ -430,46 +430,46 @@ sub zfs_cgi {
|
|||
print(" <td bgcolor='$colors->{title_bg_color}'>\n");
|
||||
}
|
||||
push(@tmp, "LINE2:arcsize#44EE44:ARC size");
|
||||
push(@tmp, "GPRINT:arcsize:LAST: Cur\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:arcsize:AVERAGE: Avg\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:arcsize:MIN: Min\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:arcsize:MAX: Max\\: %4.1lf%s\\n");
|
||||
push(@tmp, "GPRINT:arcsize:LAST: Cur\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:arcsize:AVERAGE: Avg\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:arcsize:MIN: Min\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:arcsize:MAX: Max\\: %5.1lf%s\\n");
|
||||
push(@tmpz, "LINE2:arcsize#44EE44:ARC size");
|
||||
push(@tmp, "LINE2:cmax#EE4444:Maximum ARC size");
|
||||
push(@tmp, "GPRINT:cmax:LAST: Cur\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:cmax:AVERAGE: Avg\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:cmax:MIN: Min\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:cmax:MAX: Max\\: %4.1lf%s\\n");
|
||||
push(@tmp, "GPRINT:cmax:LAST: Cur\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:cmax:AVERAGE: Avg\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:cmax:MIN: Min\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:cmax:MAX: Max\\: %5.1lf%s\\n");
|
||||
push(@tmpz, "LINE2:cmax#EE4444:Maximum ARC size");
|
||||
push(@tmp, "LINE2:cmin#EE4444:Minimum ARC size");
|
||||
push(@tmp, "GPRINT:cmin:LAST: Cur\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:cmin:AVERAGE: Avg\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:cmin:MIN: Min\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:cmin:MAX: Max\\: %4.1lf%s\\n");
|
||||
push(@tmp, "GPRINT:cmin:LAST: Cur\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:cmin:AVERAGE: Avg\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:cmin:MIN: Min\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:cmin:MAX: Max\\: %5.1lf%s\\n");
|
||||
push(@tmpz, "LINE2:cmin#EE4444:Minimum ARC size");
|
||||
push(@tmp, "LINE2:c#EEEE44:ARC target size");
|
||||
push(@tmp, "GPRINT:c:LAST: Cur\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:c:AVERAGE: Avg\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:c:MIN: Min\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:c:MAX: Max\\: %4.1lf%s\\n");
|
||||
push(@tmp, "GPRINT:c:LAST: Cur\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:c:AVERAGE: Avg\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:c:MIN: Min\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:c:MAX: Max\\: %5.1lf%s\\n");
|
||||
push(@tmpz, "LINE2:c#EEEE44:ARC target size");
|
||||
push(@tmp, "LINE2:limit#EE44EE:ARC meta limit");
|
||||
push(@tmp, "GPRINT:limit:LAST: Cur\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:limit:AVERAGE: Avg\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:limit:MIN: Min\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:limit:MAX: Max\\: %4.1lf%s\\n");
|
||||
push(@tmp, "GPRINT:limit:LAST: Cur\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:limit:AVERAGE: Avg\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:limit:MIN: Min\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:limit:MAX: Max\\: %5.1lf%s\\n");
|
||||
push(@tmpz, "LINE2:limit#EE44EE:ARC meta limit");
|
||||
push(@tmp, "LINE2:max#4444EE:ARC meta max");
|
||||
push(@tmp, "GPRINT:max:LAST: Cur\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:max:AVERAGE: Avg\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:max:MIN: Min\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:max:MAX: Max\\: %4.1lf%s\\n");
|
||||
push(@tmp, "GPRINT:max:LAST: Cur\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:max:AVERAGE: Avg\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:max:MIN: Min\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:max:MAX: Max\\: %5.1lf%s\\n");
|
||||
push(@tmpz, "LINE2:max#4444EE:ARC meta max");
|
||||
push(@tmp, "LINE2:used#44EEEE:ARC meta used");
|
||||
push(@tmp, "GPRINT:used:LAST: Cur\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:used:AVERAGE: Avg\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:used:MIN: Min\\: %4.1lf%s");
|
||||
push(@tmp, "GPRINT:used:MAX: Max\\: %4.1lf%s\\n");
|
||||
push(@tmp, "GPRINT:used:LAST: Cur\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:used:AVERAGE: Avg\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:used:MIN: Min\\: %5.1lf%s");
|
||||
push(@tmp, "GPRINT:used:MAX: Max\\: %5.1lf%s\\n");
|
||||
push(@tmpz, "LINE2:used#44EEEE:ARC meta used");
|
||||
if(lc($config->{show_gaps}) eq "y") {
|
||||
push(@tmp, "AREA:wrongdata#$colors->{gap}:");
|
||||
|
|
Loading…
Reference in New Issue