[rrd-users] Scaling the y-axsis

Tobias Oetiker tobi at oetiker.ch
Mon Aug 3 15:23:11 CEST 2009


Hi Jan,

Today jan-terje.larsen at telenor.com wrote:

> Hello,
>
> I'm trying to get better control over the upper and lower limits of graphs instead of relying on autoscale.
> My data will be in the range of 0 - 20000ns. I never want the y-axis to be less than 30ns top to bottom.
>
> As far as I can understand the rrdtool graph function does not support this directly. So my approach now is to get the max and min values in the selected time window and add 15 to max and subtract 15 from min, then set upper-limit and lower-limit accordingly.
>
> Does this make sense ?
>
> I've been partially successfull using graphv returnvalues value_min and value_max. But these are not always reporting the real max and min of my data. What are they supposed to reflect ?

they reflect the top and bottom value on the y-axis

cheers
tobi

>
> Your input would be appreciated, I'm a bit lost now ...
>
> Best Regards,
> Jan-Terje Larsen
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
>

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



More information about the rrd-users mailing list