comparison web/config.py @ 362:8fea6144951b

improve graphs
author Matt Johnston <matt@ucc.asn.au>
date Sun, 24 Jun 2012 23:48:11 +0800
parents ea1779d27641
children 62112fc2af21
comparison
equal deleted inserted replaced
358:71d2cc90354a 362:8fea6144951b
8 GRAPH_WIDTH = 800 8 GRAPH_WIDTH = 800
9 GRAPH_HEIGHT = 400 9 GRAPH_HEIGHT = 400
10 10
11 LINE_WIDTH = 2 11 LINE_WIDTH = 2
12 12
13 SENSOR_NAMES = {'sensor_test1': "First Test"} 13 SENSOR_NAMES = {'sensor_28 CE B2 1A 03 00 00 99': "Wort",
14 'sensor_28 CC C1 1A 03 00 00 D4': "Board"}
14 15
15 SENSOR_COLOURS = {} 16 SENSOR_COLOURS = {'Wort': 'e49222', 'Board': '028b3d'}
16 17
17 GRAPH_FONT = "Courier" 18 GRAPH_FONT = "Courier"