comparison web/config.py @ 56:79761ee67134

improve graphs
author Matt Johnston <matt@ucc.asn.au>
date Sun, 24 Jun 2012 23:48:11 +0800
parents 8da0fdadc8d7
children 62112fc2af21
comparison
equal deleted inserted replaced
52:c3f5e02c1c42 56:79761ee67134
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"