Home | Mirror | Search

10. AREA, LINE and STACK

10.1. LINE

rrdtool graph graph.png --title="Test Graph" --height=400 --width=800 --vertical-label="Bits per second" \
	DEF:pkt=datafile.rrd:packets:AVERAGE \
	LINE1:pkt#ff0000:Packets
			

10.2. AREA

rrdtool graph graph.png --title="Test Graph" --height=400 --width=800 --vertical-label="Bits per second" \
	DEF:pkt=datafile.rrd:packets:AVERAGE \
	AREA:pkt#ff0000:Packets
			

10.3. STACK

rrdtool graph graph.png --title="Test Graph" --height=400 --width=800 --vertical-label="Bits per second" \
	DEF:pkt=datafile.rrd:packets:AVERAGE \
	LINE1:pkt#ff0000:Packets \
	STACK:pkt#0000ff:Packets

AREA:x1#FF0000:x1
STACK:x2#0000FF:x2

LINE2:x1#FF0000:x1
STACK:x2#0000FF:x2+x1

LINE2:x1#FF0000:x1
AREA:x2#0000FF:x2:STACK
			

10.4. GPRINT


			
comments powered by Disqus