Mercurial > templog
diff web/log.py @ 73:0a8639039453
Get rid of axes labels, tidy html
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 01 Jul 2012 00:09:50 +0800 |
parents | 7d243ba2dd39 |
children | ca08442635ca |
line wrap: on
line diff
--- a/web/log.py Fri Jun 29 22:46:59 2012 +0800 +++ b/web/log.py Sun Jul 01 00:09: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()