[rrd-users] Re: resize graph

Toni de la Fuente toni at blyx.com
Wed Mar 15 11:16:17 MET 2006


El Mie, 15 de Marzo de 2006, 1:27 am, Alex van den Bogaerdt escribió:
> 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.
>

w=350px and h=150px size is for entire graph

> Unfortunately rrdtool sometimes changes size of its legend and such,
> otherwise you would be able to reliably predict the size of an entire
> image.
>

With rrdtool-1.2 I can change dafault font SIZE and no problem but I need
to use rrdtool-1.0

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

Yes I tried --imginfo but with the same result that other. Yes, maybe I
will modify my web design... :(

>
> --
> Alex van den Bogaerdt
> http://www.vandenbogaerdt.nl/rrdtool/
>

Thanks!!

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


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