>
>
> On Nov 27, 2009, at 1:48 AM, Kang wrote:
>
> it's lack of customizable options compare to old rrdgraph( upper/
>
> lower limit, static cur/min/max legend label, fast static image
>
> rendering, etc.)
>
>
> What do you mean by upper/lower limit? I think there are some possible
> optimisations with how the graphs choose the top and bottom values for the
> y-axis.
>
>
>
I want to set ower/upper limit of y-axis range myself.
but I can't find any menu or parameters to do so.

RRDgraph have theses options.
In opsview-web/lib/Opsview/Web/Controllere/RRDgraph.pm

123     #if (defined $full_size_mode){ push @$rrdoptions,
"--full-size-mode"; }
124     if ( defined $upper_limit ) { push @$rrdoptions, "--upper-limit",
$upper_limit }
125     if ( defined $lower_limit ) { push @$rrdoptions, "--lower-limit",
$lower_limit }
126     if ( defined $rigid )       { push @$rrdoptions, "--rigid" }
127     if ( defined $alt_autoscale ) { push @$rrdoptions, "--alt-autoscale"
}


http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html

[*-u*|*--upper-limit* *value*] [*-l*|*--lower-limit* *value*] [*-r*|*--rigid
*]

By default the graph will be autoscaling so that it will adjust the y-axis
to the range of the data. You can change this behavior by explicitly setting
the limits. The displayed y-axis will then range at least from *lower-limit*to
*upper-limit*. Autoscaling will still permit those boundaries to be
stretched unless the *rigid* option is set.
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to