www/js/mon_fermenter.js

changeset 385
95276520a11c
parent 346
01b393df529a
child 390
1c52a6875960
equal deleted inserted replaced
384:442d23455ae4 385:95276520a11c
167 labels: { interval: 5 }, 167 labels: { interval: 5 },
168 style: { fill: '#eeeeee', stroke: '#666666' }, 168 style: { fill: '#eeeeee', stroke: '#666666' },
169 value: 0, 169 value: 0,
170 colorScheme: 'scheme05', 170 colorScheme: 'scheme05',
171 easing: 'easeOutBack', 171 easing: 'easeOutBack',
172 animationDuration: 1200 172 animationDuration: 600
173 }; 173 };
174 var gaugeSmalloptions = { 174 var gaugeSmalloptions = {
175 min: -15, max: 25, width: 190, height: 190, 175 min: -15, max: 25, width: 190, height: 190,
176 ranges: [{ startValue: -15, endValue: 0, startWidth: 5, endWidth: 5, style: { fill: '#3399FF', stroke: '#3399FF' }}, 176 ranges: [{ startValue: -15, endValue: 0, startWidth: 5, endWidth: 5, style: { fill: '#3399FF', stroke: '#3399FF' }},
177 { startValue: 0, endValue: 10, startWidth: 5, endWidth: 5, style: { fill: '#00CC33', stroke: '#00CC33' }}, 177 { startValue: 0, endValue: 10, startWidth: 5, endWidth: 5, style: { fill: '#00CC33', stroke: '#00CC33' }},
181 labels: { interval: 5 }, 181 labels: { interval: 5 },
182 style: { fill: '#eeeeee', stroke: '#666666' }, 182 style: { fill: '#eeeeee', stroke: '#666666' },
183 value: 0, 183 value: 0,
184 colorScheme: 'scheme05', 184 colorScheme: 'scheme05',
185 easing: 'easeOutBack', 185 easing: 'easeOutBack',
186 animationDuration: 1200, 186 animationDuration: 400,
187 caption: { value: 'Chiller', position: 'bottom', offset: [0, 10] } 187 caption: { value: 'Chiller', position: 'bottom', offset: [0, 10] }
188 }; 188 };
189 $("#gaugeContainer_air").jqxGauge( gaugeoptions ); 189 $("#gaugeContainer_air").jqxGauge( gaugeoptions );
190 $("#gaugeContainer_air").jqxGauge( { caption: { value: 'Air: 00.000' }} ); 190 $("#gaugeContainer_air").jqxGauge( { caption: { value: 'Air: 00.000' }} );
191 $("#gaugeContainer_beer").jqxGauge( gaugeoptions ); 191 $("#gaugeContainer_beer").jqxGauge( gaugeoptions );

mercurial