[rrd-developers] rrd_graph.c crashed on right Y-axis with SI units

Tobias Oetiker tobi at oetiker.ch
Sun Aug 12 20:50:52 CEST 2012


Today Martin Pelikan wrote:

> On Sun, Aug 12, 2012 at 04:39:51PM +0200, Tobias Oetiker wrote:
> > thanks for investigating this ... the intended behaviour is not to
> > autoscale in that way though ... there was already an incomplete
> > fix for this probem in r2123 ... I have now put in the rest of the
> > fix in r2297
>
> No problem.  I'm just making per-customer graphs so the BFUs can see
> what speed did they order (left axis) and what speed did they see in
> their browser (right axis), and for me it kind of does make sense to
> have them look the same.  Furthermore, I found a "sort-of-tutorial",
> more like a bunch of examples here:
>
> http://wiki.springsurprise.com/2010/10/14/rules-legends-and-scales-with-rrdtool/
>
> which shows in the Example 3 that it is possible to autoscale on the
> right side.  How do I do this?  Or, should I write a patch, how would
> you prefer the setting to look?  --units-left/--units-right?

as long as you do not specify a format for the right axis labels,
they should autoscale ...

cheers
tobi


-- 
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-developers mailing list