[rrd-users] Re: RRDTool:OO question
Alex van den Bogaerdt
alex at ergens.op.het.net
Thu Apr 27 03:47:44 MEST 2006
On Wed, Apr 26, 2006 at 05:32:10PM -0700, William Yardley wrote:
> I want something like:
>
> * Combined Ave: 14.53 * Max1: 11.52 * Max2: 12.30
> * Ave1: 6.49 * Ave2: 8.04
>
> (with the value next to the legend item).
> I've looked at some of the examples of fancy formatting in
> rrdgraph_examples, but they're a little over my head, especially as they
> relate to RRDTool::OO as an interface to RRDTool.
I don't really know this module. Perhaps it is shuffling items around as
it seems fit, in that case you probably loose. If it does not shuffle,
you should keep the graph items in this order:
AREA, GPRINT, LINE, GPRINT
You now seem to have: AREA, LINE, GPRINT, GPRINT
First focus on getting the sequence of commands right. Your goal:
* Combined Ave: 14.53 * Max1: 11.52 * Max2: 12.30 * Ave1: 6.49 * Ave2: 8.04
When you have managed that, add a newline to the GPRINT belonging to Max2.
* Combined Ave: 14.53 * Max1: 11.52 * Max2: 12.30
* Ave1: 6.49 * Ave2: 8.04
Then worry about the white space in front of Ave1. COMMENT with only spaces
will probably do just fine (if available). Else you will have to compromise
and go for an option where the coloured box is at the left hand side.
--
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list