[rrd-users] Re: resize graph
Alex van den Bogaerdt
alex at ergens.op.het.net
Wed Mar 15 01:27:20 MET 2006
On Tue, Mar 14, 2006 at 10:52:01PM +0100, Toni de la Fuente wrote:
> I obtain a png graph with w=491px and h=185px size but I need a
> graph with w=350px and h=150px. If I use --height=150 and --width=350
> options I only can resize the canvas and If I use <img
> src="db_traffic_day.png" width="350" height="150"> the image can't
> see fine with almost all browsers.
I think these options (w and h) specify the inner part of the graph,
not the entire image.
Unfortunately rrdtool sometimes changes size of its legend and such,
otherwise you would be able to reliably predict the size of an entire
image.
As a workaround you could try to use this option: -f (or: --imginfo).
This won't give you what you're asking for right now but perhaps you
can adapt the html page to the image you just created?
--
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list