# [rrd-users] MAX values dependant on width of graph

Richard Burton richard at atomwide.com
Fri Mar 7 16:17:02 CET 2008

```Hi there

Couple more questions that I would like to know the answers to, if you
wouldn't mind.

Can someone explain or point me in the direction of documentation with
regard to what is shown on a graph when you have more data than the
available pixel width of a graph. I.e. are the points averaged?

Also the value printed for the value MAX when you use GPRINT is the
maximum value based on the data in the RRD and it is not in any way
influenced by the data that is actually shown on the graph?

Thanks

Richard

> -----Original Message-----
> From: Richard Burton
> Sent: 07 March 2008 14:43
> To: 'rrd-users at lists.oetiker.ch'
> Subject: RE: [rrd-users] MAX values dependant on width of graph
>
> Ah thank you very very much, especially the ascii art, I
> shall go and make the relevant changes to my code.
>
> Richard
>
>
> >
> > which means you are looking at the maximum of all averages, not at
> > the maximum of all maximums.
> >
> > Suppose three RRAs exist, one at 5 min. per row and two at 10 min.
> >
> > Each PDP==300 seconds (--step 300)
> >
> > 1,3,5,3,5,3,1,3,5,3,1,5   average RRA, 1 PDP per CDP
> > \/  \/  \/  \/  \/   \/
> > 2   4   4   2   4    3    average RRA, 2 PDP per CDP
> > 3   5   5   3   5    5    maximum RRA, 2 PDP per CDP
> >
> > Display the first RRA and see values in the range 1..5.
> > Now display the 2rd RRA (more time on graph) and see range 2..4
> >
> > What you apparently want is to show the 3rd RRA, thus you
> need to use
> > MAX in your DEF.
>

```