Since we seem to be tossing out minor web front end patches tonight,
here's one that fixes the persistent "0 - 0.00" that shows up on all
of the per-metric graphs.  The patch applies against 3.0.6 and trunk.
The new behavior is to do the following:

* If an explicit vertical label is passed, use it.
* If a valid maximum or minimum value has been passed, via the 'x' or
'n' URL parameters respectively, use them.
* If neither are passed, suppress printing a vertical label alltogether.

Note that there should be *something* printed as a label for alignment
purposes.  Otherwise, the sizes of the graphs are off by a few pixels,
and it looks really bad.

-- 
Jesse Becker
GPG Fingerprint -- BD00 7AA4 4483 AFCC 82D0  2720 0083 0931 9A2B 06A2

Attachment: vert-label.patch
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to