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

Tobias Oetiker tobi at oetiker.ch
Fri Jun 1 20:02:01 CEST 2007


Hi Matthew,
>
> See both modes (--full-size-mode with and without --no-legend) here:
>
> http://fenchurch.mc.vanderbilt.edu/ganglia/?m=mem_report
> <http://fenchurch.mc.vanderbilt.edu/ganglia/?m=mem_report&r=hour&s=descendin
> g&c=Vogon+Constructor+Fleet&h=&sh=1&hc=4>
> &r=hour&s=descending&c=Vogon+Constructor+Fleet&h=&sh=1&hc=4

the patch is on

> 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.

since the legend part of a graph can contain GPRINTed data the
'static' bit is not necessarily true ..

also it may be better to use html+css for a legend these days ...

cheers
tobi
>
>
>
> Regards,
>
> Matt
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902



More information about the rrd-developers mailing list