www-thermferm/archives.php

changeset 374
20999ef6d487
parent 359
12734a3774e8
child 375
f707d22c72f8
equal deleted inserted replaced
373:f6850e0b5d35 374:20999ef6d487
106 106
107 $outstr .= ' var sourceA ='.PHP_EOL; 107 $outstr .= ' var sourceA ='.PHP_EOL;
108 $outstr .= ' {'.PHP_EOL; 108 $outstr .= ' {'.PHP_EOL;
109 $outstr .= ' datatype: "json",'.PHP_EOL; 109 $outstr .= ' datatype: "json",'.PHP_EOL;
110 $outstr .= ' datafields: ['.PHP_EOL; 110 $outstr .= ' datafields: ['.PHP_EOL;
111 $outstr .= ' { name: "Date", type: "date", format: "yyyy-MM-ddTHH:mm" },'.PHP_EOL; 111 $outstr .= ' { name: "Date", type: "date", format: "yyyy-MM-dd HH:mm" },'.PHP_EOL;
112 $outstr .= ' { name: "Mode" },'.PHP_EOL; 112 $outstr .= ' { name: "Mode" },'.PHP_EOL;
113 $outstr .= ' { name: "Air", type: "float" },'.PHP_EOL; 113 $outstr .= ' { name: "Air", type: "float" },'.PHP_EOL;
114 $outstr .= ' { name: "Beer", type: "float" },'.PHP_EOL; 114 $outstr .= ' { name: "Beer", type: "float" },'.PHP_EOL;
115 $outstr .= ' { name: "Target", type: "float" },'.PHP_EOL; 115 $outstr .= ' { name: "Target", type: "float" },'.PHP_EOL;
116 $outstr .= ' { name: "Heater", type: "int" },'.PHP_EOL; 116 $outstr .= ' { name: "Heater", type: "int" },'.PHP_EOL;
135 $outstr .= ' title: "'.$name.'",'.PHP_EOL; 135 $outstr .= ' title: "'.$name.'",'.PHP_EOL;
136 $outstr .= ' description: "",'.PHP_EOL; 136 $outstr .= ' description: "",'.PHP_EOL;
137 $outstr .= ' padding: { left: 5, top: 5, right: 5, bottom: 5 },'.PHP_EOL; 137 $outstr .= ' padding: { left: 5, top: 5, right: 5, bottom: 5 },'.PHP_EOL;
138 $outstr .= ' titlePadding: { left: 0, top: 0, right: 0, bottom: 10 },'.PHP_EOL; 138 $outstr .= ' titlePadding: { left: 0, top: 0, right: 0, bottom: 10 },'.PHP_EOL;
139 $outstr .= ' source: dataAdapter,'.PHP_EOL; 139 $outstr .= ' source: dataAdapter,'.PHP_EOL;
140 $outstr .= ' categoryAxis:'.PHP_EOL; 140 $outstr .= ' xAxis:'.PHP_EOL;
141 $outstr .= ' {'.PHP_EOL; 141 $outstr .= ' {'.PHP_EOL;
142 $outstr .= ' dataField: \'Date\','.PHP_EOL; 142 $outstr .= ' dataField: \'Date\','.PHP_EOL;
143 $outstr .= ' type: \'date\','.PHP_EOL;
143 $outstr .= ' textRotationAngle: 45,'.PHP_EOL; 144 $outstr .= ' textRotationAngle: 45,'.PHP_EOL;
144 $outstr .= ' showGridLines: false'.PHP_EOL; 145 $outstr .= ' showGridLines: false'.PHP_EOL;
145 $outstr .= ' },'.PHP_EOL; 146 $outstr .= ' },'.PHP_EOL;
146 $outstr .= ' colorScheme: \'scheme01\','.PHP_EOL; 147 $outstr .= ' colorScheme: \'scheme01\','.PHP_EOL;
147 $outstr .= ' seriesGroups:'.PHP_EOL; 148 $outstr .= ' seriesGroups:'.PHP_EOL;

mercurial