TODO
- Add timings to graphs
- - Add charts of other info
\ No newline at end of file
+ - Add charts of other info
+ - Add alerts
\ No newline at end of file
$attributes[$attribute['attribute']] = $attribute['name'];
}
$i = 0;
+
foreach (array_keys($attributes) as $attribute)
{
$query = "SELECT printf('%d', timestamp) AS timestamp,value ".
echo " context.stroke();\n";
$name = $attributes[$attribute];
- echo " context.strokeText('$name', 300, ".(395-15*$i).");";
+ echo " context.strokeText('$name', ".(40*$i).", 415);";
$i+=1;
}
?>