comparison web/log.py @ 69:a8ff20f15734

a bunch of web fiddli
author Matt Johnston <matt@ucc.asn.au>
date Wed, 27 Jun 2012 23:41:50 +0800
parents 46c43e13a759
children 7d243ba2dd39
comparison
equal deleted inserted replaced
67:46c43e13a759 69:a8ff20f15734
95 '--grid-dash', '1:0', 95 '--grid-dash', '1:0',
96 '--color', 'GRID#00000000', 96 '--color', 'GRID#00000000',
97 '--color', 'MGRID#aaaaaa', 97 '--color', 'MGRID#aaaaaa',
98 '--color', 'BACK#ffffff', 98 '--color', 'BACK#ffffff',
99 '--disable-rrdtool-tag', 99 '--disable-rrdtool-tag',
100 'VRULE:%d#ee0000' % time.time(),
101 '--watermark', watermark, 100 '--watermark', watermark,
102 '--imgformat', 'PNG'] \ 101 '--imgformat', 'PNG'] \
103 + graph_args 102 + graph_args
104 args += ['--font', 'DEFAULT:12:%s' % config.GRAPH_FONT] 103 args += ['--font', 'DEFAULT:12:%s' % config.GRAPH_FONT]
105 args += ['--font', 'WATERMARK:10:%s' % config.GRAPH_FONT] 104 args += ['--font', 'WATERMARK:10:%s' % config.GRAPH_FONT]