fix max wind
[dweather.git] / templates / index.html.ep
index 7526d24d41cc07d9e6fd4568badedd20456258da..d7ec7130122470d6106b0a0c27b91002aec9602c 100644 (file)
                                                           }
                                                   }
                                                   chop $s if length $s; 
-                                                  say $s;
                                                %><%= $s %>
                                        ],
                                        tooltip: {
                                                           }
                                                   }
                                                   chop $s if length $s; 
-                                                  say $s;
                                                %><%= $s %>
                                        ],
                                        tooltip: {
                        }
                        if (hr.Temp_Out <= 0) {
                                if (lasttemp > 0) {
-                                       daychart.series[4].addPoint([t, 0], true, temppos);
+                                       daychart.series[4].addPoint([t, 0], true, tempneg);
                                }
                                daychart.series[4].addPoint([t, hr.Temp_Out], true, tempneg);
                        } else {
                                        <tr><th>Wind:</th><td><span id="Dir"> </span> ° @ <span id="Wind"> </span> mph</td>
                                                <th>Wind Minute Avg:</th><td> <span id="Dir_1m"> </span> ° @ <span id="Wind_1m"> </span> mph </td>
                                                <th>Day Max Speed:</th><td> <span id="Wind_Max"> </span> mph @ <span id="Wind_Max_T"> </span></td>
+                                               <th>Wind Chill:</th><td> <span id="WindChill"> °C</span></td>
                                        </tr>
                                        <tr>
                                                <th>Rain 30mins:</th><td> <span id="Rain_1h"> </span> mm</td>
                        </div>
                </div>
 
-
                <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
                <script src="js/jquery.min.js"></script>
                <!-- Latest compiled and minified JavaScript -->