[rrd-users] Autoscaling y-axis max and min to same absolute value

Tobias Oetiker tobi at oetiker.ch
Wed Oct 8 19:49:11 CEST 2008


Today (private) HKS wrote:

> Hi all,
> I'm new to rrdtools, but couldn't find an answer to this in the
> documentation or the mailing list archives. Perhaps it's not possible,
> but it seems like something that might have come up before.
> I've got several traffic graphs that map inbound traffic to positive
> y-values and outbound traffic to negative y-values. I want the y-axis
> to continue autoscaling, but I would like the max and min values to
> scale at the same rate. In other words, abs(min) should always equal
> abs(max). Is this possible with rrdgraph?

you could paint outbund traffic with the background color in the
positive y axis and the other way round, then the graph will scale


> Thanks for the help.
> -HKS
> _______________________________________________
> 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