forked from pihome-shc/pihome
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchart_dailyusage.php
More file actions
33 lines (30 loc) · 1.42 KB
/
Copy pathchart_dailyusage.php
File metadata and controls
33 lines (30 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/*
_____ _ _ _
| __ \ (_) | | | |
| |__) | _ | |__| | ___ _ __ ___ ___
| ___/ | | | __ | / _ \ | |_ \_ \ / _ \
| | | | | | | | | (_) | | | | | | | | __/
|_| |_| |_| |_| \___/ |_| |_| |_| \___|
S M A R T H E A T I N G C O N T R O L
*************************************************************************"
* PiHome is Raspberry Pi based Central Heating Control systems. It runs *"
* from web interface and it comes with ABSOLUTELY NO WARRANTY, to the *"
* extent permitted by applicable law. I take no responsibility for any *"
* loss or damage to you or your property. *"
* DO NOT MAKE ANY CHANGES TO YOUR HEATING SYSTEM UNTILL UNLESS YOU KNOW *"
* WHAT YOU ARE DOING *"
*************************************************************************"
*/
$graphs_page = '1';
echo "<h4>".$lang['graph_temperature']."</h4></p>".$lang['graph_24h']."</p>";
$num_Charts = 3;
echo '<div class="flot-chart"><div class="flot-chart-content" id="placeholder"></div></div><br>';
for ($x = 2; $x <= $num_Charts; $x++) {
if ($x < $num_Charts) {
echo '<div class="flot-chart"><div class="flot-chart-content" id="graph'.$x.'"></div></div><br>';
} else {
echo '<div class="flot-chart"><div class="flot-chart-content" id="graph'.$x.'"></div></div>';
}
}
?>