www/js/log_brew.js

changeset 297
5e2424bfbc4a
parent 296
69fadd1aded2
child 494
af28ebe4a779
equal deleted inserted replaced
296:69fadd1aded2 297:5e2424bfbc4a
44 { name: "date", type: "date", format: "yyyy-MM-dd HH:mm" }, 44 { name: "date", type: "date", format: "yyyy-MM-dd HH:mm" },
45 { name: "version", type: "int" }, 45 { name: "version", type: "int" },
46 { name: "code", type: "string" }, 46 { name: "code", type: "string" },
47 { name: "name", type: "string" }, 47 { name: "name", type: "string" },
48 { name: "pv_mlt", type: "float" }, 48 { name: "pv_mlt", type: "float" },
49 { name: "pv_bk", type: "float" },
50 { name: "pv_hlt", type: "float" }, 49 { name: "pv_hlt", type: "float" },
51 { name: "pv_room", type: "float" }, 50 { name: "pv_room", type: "float" },
52 { name: "sp_mlt", type: "float" }, 51 { name: "sp_mlt", type: "float" },
53 { name: "sp_bk", type: "float" },
54 { name: "sp_hlt", type: "float" }, 52 { name: "sp_hlt", type: "float" },
53 { name: "pwm_mlt", type: "int" },
54 { name: "pwm_hlt", type: "int" },
55 { name: "event", type: "string" } 55 { name: "event", type: "string" }
56 ], 56 ],
57 url: 'getbrewlog.php?code=' + my_code 57 url: 'getbrewlog.php?code=' + my_code
58 }; 58 };
59 var dataAdapter = new $.jqx.dataAdapter(sourceA, { 59 var dataAdapter = new $.jqx.dataAdapter(sourceA, {
93 description: 'Graden C' 93 description: 'Graden C'
94 }, 94 },
95 series: [ 95 series: [
96 { dataField: "pv_mlt", lineWidth: 2, displayText: "MLT" }, 96 { dataField: "pv_mlt", lineWidth: 2, displayText: "MLT" },
97 { dataField: "sp_mlt", lineWidth: 1, displayText: "mlt", opacity: 0.7 }, 97 { dataField: "sp_mlt", lineWidth: 1, displayText: "mlt", opacity: 0.7 },
98 { dataField: "pv_bk", lineWidth: 2, displayText: "BK" },
99 { dataField: "sp_bk", lineWidth: 1, displayText: "bk", opacity: 0.7 },
100 { dataField: "pv_hlt", lineWidth: 1, displayText: "HLT" }, 98 { dataField: "pv_hlt", lineWidth: 1, displayText: "HLT" },
101 { dataField: "sp_hlt", lineWidth: 1, displayText: "hlt", opacity: 0.7 }, 99 { dataField: "sp_hlt", lineWidth: 1, displayText: "hlt", opacity: 0.7 },
102 { dataField: "pv_room", lineWidth: 1, displayText: "Room", opacity: 0.5 } 100 { dataField: "pv_room", lineWidth: 1, displayText: "Room", opacity: 0.5 }
103 ] 101 ]
104 } 102 }

mercurial