<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hello,
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div name="quoted-content">
<div style="font-family: Verdana;font-size: 12.0px;">
<div>
<div>
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>i have problems with a graph.</div>
<div>i want to show the state of a switch (0 = Off, 1 = 1, 2=2, 3=3) via the AREA commad. but in my graph the area is empty sometimes.</div>
<div> </div>
<div>Here is my code:</div>
<div>
<div>RRDs::graph($tmpfile,<br/>
@opts,<br/>
"DEF:stufe=$rrd:stufe:LAST",<br/>
"CDEF:stufe1_flag=stufe,1,EQ,INF,UNKN,IF",<br/>
"CDEF:stufe2_flag=stufe,2,EQ,INF,UNKN,IF",<br/>
"CDEF:stufe3_flag=stufe,3,EQ,INF,UNKN,IF",<br/>
"CDEF:stufe0_flag=stufe,0,EQ,INF,UNKN,IF",<br/>
<br/>
"AREA:stufe0_flag#7c6767:Stufe 0 AUS \\t",<br/>
"AREA:stufe1_flag#98FB98:Stufe 1 \\t",<br/>
"AREA:stufe2_flag#fafa78:Stufe 2 \\t",<br/>
"AREA:stufe3_flag#fd6969:Stufe 3 \\t",</div>
<div> "DEF:bypass=$rrd:bypass:AVERAGE",<br/>
"CDEF:bypass_flag=bypass,1,EQ,50,UNKN,IF",<br/>
"AREA:bypass_flag#ffe0e0:Bypass offen \\l",</div>
<div> "DEF:wrgZu=$rrd:wrgZu:AVERAGE",<br/>
"LINE2:wrgZu#000000:WRG - zuluftseitig (in % )",<br/>
"VDEF:wrgZulast=wrgZu,LAST",<br/>
"GPRINT:wrgZulast: JETZT \%.1lf</div>
<div> </div>
<div>When look into the xml exported rrd database i can see that the right values ("1") is stored continouly in the database, so i see no reaseon why i have interrupts in the green background of the graph.</div>
<div>How can helpme out or explain why i have emtpy sections in my graph ?</div>
<div> </div>
<div>Here is the graph: http://www.dreamies.de/show.php?img=6lxz5otgz81.gif</div>
<div> </div>
<div>thank you,</div>
<div> </div>
<div>Thomas</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></body></html>