<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Hi ,<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">i have this code to create the graph file<br><br><span class=""><span></span></span><span style="color:rgb(0,0,255)">#!/bin/sh<br>rrdtool graph /var/www/temp_graph.png \<br>-w 1024 -h 400 -a PNG --slope-mode \<br>--start -1d --end now \<br>--vertical-label "temperature (C)" \<br>DEF:out=/opt/templog/data/templog.rrd:internal:AVERAGE \<br>DEF:in=/opt/templog/data/templog.rrd:external:AVERAGE \<br>LINE2:in#00ff00:"inside" \<br>LINE2:out#000ff:"outside"</span><br><br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">And this file to create the rrd file:<br><br><span style="color:rgb(0,0,255)">#!/bin/sh<br>rrdtool create /opt/templog/data/templog.rrd --step 300   \<br>DS:internal:GAUGE:600:-55:125  \<br>DS:external:GAUGE:600:-55:125  \<br>RRA:AVERAGE:0.5:1:576    \<br>RRA:AVERAGE:0.5:3:1344   \<br>RRA:AVERAGE:0.5:12:1488  \<br>RRA:AVERAGE:0.5:72:1984  \<br>RRA:MIN:0.5:72:1984      \<br>RRA:MAX:0.5:72:1984</span><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">But when i create the graph, the temperature curve shows only positive temperature and not negative temperature.<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">When the temperature is going under 0 C, the curve is blank then become visible when temperature is positive.<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">How can i resolve this problem?<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Thank you<br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Best Regards<br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Pascal<br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div></div>