comparison web/log.py @ 375:f22427bcfda8

a bunch of web fiddli
author Matt Johnston <matt@ucc.asn.au>
date Wed, 27 Jun 2012 23:41:50 +0800
parents 1f530c97c053
children 7d243ba2dd39
comparison
equal deleted inserted replaced
373:1f530c97c053 375:f22427bcfda8
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]