Mercurial > ~darius > hgwebdir.cgi > adslstats
comparison adslstats.py @ 15:7dbe86981f6b
Make minimum level of dB graph 0 to make reading lower values easier.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Fri, 20 May 2016 15:07:49 +0930 |
parents | 2debc3fb4372 |
children | 425d02592dce |
comparison
equal
deleted
inserted
replaced
14:2debc3fb4372 | 15:7dbe86981f6b |
---|---|
201 | 201 |
202 signalargs = ( | 202 signalargs = ( |
203 '-a', 'SVG', | 203 '-a', 'SVG', |
204 '--vertical-label', 'dB', | 204 '--vertical-label', 'dB', |
205 '--slope-mode', | 205 '--slope-mode', |
206 '-l', '0', | |
206 | 207 |
207 'DEF:upstream=%s:upstream:AVERAGE' % rrdname, | 208 'DEF:upstream=%s:upstream:AVERAGE' % rrdname, |
208 'DEF:downstream=%s:downstream:AVERAGE' % rrdname, | 209 'DEF:downstream=%s:downstream:AVERAGE' % rrdname, |
209 | 210 |
210 'DEF:nmup_=%s:nmup:AVERAGE' % rrdname, | 211 'DEF:nmup_=%s:nmup:AVERAGE' % rrdname, |