diff web/log.py @ 74:cb5ea75ee599

merge
author Matt Johnston <matt@ucc.asn.au>
date Tue, 03 Jul 2012 21:55:50 +0800
parents 0a8639039453
children ca08442635ca
line wrap: on
line diff
--- a/web/log.py	Sat Jun 30 22:00:46 2012 +0800
+++ b/web/log.py	Tue Jul 03 21:55:50 2012 +0800
@@ -90,7 +90,7 @@
         '-h', str(config.GRAPH_HEIGHT),
         '--slope-mode',
         '--border', '0',
-        '--vertical-label', 'Voltage',
+#        '--vertical-label', 'Voltage',
         '--y-grid', '0.1:1',
         '--dynamic-labels',
         '--grid-dash', '1:0',
@@ -105,8 +105,9 @@
     args += ['--font', 'WATERMARK:10:%s' % config.GRAPH_FONT]
     if have_volts:
         args += ['--right-axis', '10:-20', # matches the scalevolts CDEF above
-            '--right-axis-format', '%.2lf',
-            '--right-axis-label', 'Temperature']
+            '--right-axis-format', '%.0lf',
+#            '--right-axis-label', 'Temperature'
+            ]
 
     rrdtool.graph(*args)
     return tempf.read()