title of the graph is the string representation of the type of sensor
[psensor.git] / www / details.html
index fbc841a..c4dc88b 100644 (file)
@@ -29,7 +29,7 @@
 
               var plot1 = $.jqplot ('chart1', [data_chart], 
                   {
-                      title:'Temperature',
+                      title: type_to_str(data["type"]),
                       axes:{
                           xaxis:{
                               renderer:$.jqplot.DateAxisRenderer,