[rrd-developers] [PATCH,RFC] Fix for --full-size-mode used with --no-legend; proposal for --only-legend

Matthew Chambers matthew.chambers at vanderbilt.edu
Fri Jun 1 19:19:50 CEST 2007

Finally with those segfaults out of the way I got this fix cooked up.  By
the way, is there a semi-comprehensive test suite for rrdtool commands?
I.e. with these sample rrds and these sample rrdtool graph calls, we should
get pictures that look like this and what do they actually look like?


See both modes (--full-size-mode with and without --no-legend) here:



The next step to finish this page is to add an option like --only-legend
which produces an image consisting of ONLY the legend part of the graph.
Obviously such a command could have a laxer syntax since it doesn't require
any actual data, but what do you all think?  I would put such an image at
the top of the page.  Actually, it would only need to be generated once for
each metric and then the page could just call the static/cached legend
image.  This would basically be a convenience option for users to generate
the legend for when the same graph from multiple sources many times and they
don't want a legend on each one.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20070601/f1bd390e/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rrdtool-fullsizemode+nolegend-fix.diff
Type: application/octet-stream
Size: 1117 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20070601/f1bd390e/attachment-0001.obj 

More information about the rrd-developers mailing list