[rrd-users] Re: STACK problem with AREA graph

This is a discussion on [rrd-users] Re: STACK problem with AREA graph within the RRD Users forums, part of the Networking and Network Related category; On Thu, 5 May 2005, David Lloyd wrote: > this is about rrdtool-1.2.1. > > If an ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-05-2005
Jay Ford
 
Posts: n/a
Default [rrd-users] Re: STACK problem with AREA graph

On Thu, 5 May 2005, David Lloyd wrote:
> this is about rrdtool-1.2.1.
>
> If an AREA is the first, or only thing to be drawn on a graph I get a
> segmentation fault.
>
> eg with a LINE1 or LINE2 graph STACK works ok:
>
> $ rrdtool graph line.png -s -6hour DEF:ccf=ccf.rrd:tally:AVERAGE
> LINE1:ccf#aa00aa:ccf:STACK
> 496x168
>
> but the same with an AREA give a seg fault:
>
> $ rrdtool graph area.png -s -6hour DEF:ccf=ccf.rrd:tally:AVERAGE
> AREA:ccf#aa00aa:ccf:STACK
> Segmentation fault


That syntax is bogus. You do one of:
LINE{1|2|3}:vname[#rrggbb[:legend]]
AREA:vname[#rrggbb[:legend]]
STACK:vname[#rrggbb[:legend]]
There is no case where you append "STACK" to a LINE or AREA.

> I'm assuming you can use STACK on the first thing to be drawn, and it will
> stack the data over the x-axis, so that you don't have to make a special
> case for the first area.


The rrdgraph man page says:
STACK:vname[#rrggbb[:legend]]
Does the same as LINE?, but the graph gets stacked on top of the
previous LINE?, AREA or STACK graph. Depending on the type of the
previous graph, the STACK will be either a LINE? or an AREA. This
obviously implies that the first STACK must be preceded by an AREA or
LINE? -- you need something to stack some* thing onto in the first place
;)
So, you do need something before the first STACK.

__________________________________________________ ______________________
Jay Ford, Network Engineering Group, Information Technology Services
University of Iowa, Iowa City, IA 52242
email: jay-ford@uiowa.edu, phone: 319-335-5555, fax: 319-335-2951

--
Unsubscribe mailto:rrd-users-request@list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request@list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:23 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0