need to add AREA to graph template

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
bfdi533
Posts: 3
Joined: Mon Dec 06, 2004 1:42 pm
Location: Austin, TX
Contact:

need to add AREA to graph template

Post by bfdi533 »

I have an rrd graph that I am trying to apply to a template so that it matches the graphs I had been creating externally to cacti.

I have the following on my graph currently:

Code: Select all

AREA:100#FFFFCC:Fair Performance
AREA:40#CCFFCC:Good Performance\\n
But when I add an AREA to the graph it always come in as:

Code: Select all

AREA:a#FFF200FF:"Fair Performance"  
AREA:a#CAF100FF:"Good Performance\n"  
I need this to be an exact value of 100, not the a datasource.

How do I do this?
--
Ed
bfdi533
Posts: 3
Joined: Mon Dec 06, 2004 1:42 pm
Location: Austin, TX
Contact:

Post by bfdi533 »

Anyone? Was my need unclear?
--
Ed
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Static values in the graph are a horizontal or vertical line (HRULE, VRULE).

Read through the rrdtool graph manual.
bfdi533
Posts: 3
Joined: Mon Dec 06, 2004 1:42 pm
Location: Austin, TX
Contact:

Post by bfdi533 »

This is what the rrdgraph_graph manual says:

Code: Select all

AREA:value[#color][:[legend][:STACK]]

See LINE, however the area between the x-axis and the line will be filled.
I can do just that, put a value, and I get a graph with that value. See the attached graph. Both the light yellow and the light green areas are done this way.
Attachments
example graph with AREA values
example graph with AREA values
example_area_graph.png (88.39 KiB) Viewed 697 times
--
Ed
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests