www/js/mon_fermenter.js

changeset 548
c67cd0d9249b
parent 526
2991acd35cdb
child 645
3b1510050c9b
--- a/www/js/mon_fermenter.js	Thu Oct 31 15:57:49 2019 +0100
+++ b/www/js/mon_fermenter.js	Mon Nov 04 15:59:39 2019 +0100
@@ -132,10 +132,10 @@
   },
  }),
  gaugeoptions = {
-  min: 0, max: 40, width: 375, height: 375,
+  min: 0, max: 45, width: 375, height: 375,
   ranges: [{ startValue: 0, endValue: yl, style: { fill: '#3399FF', stroke: '#3399FF' }, endWidth: 10, startWidth: 10 },
            { startValue: yl, endValue: yh, style: { fill: '#00CC33', stroke: '#00CC33' }, endWidth: 10, startWidth: 10 },
-           { startValue: yh, endValue: 40, style: { fill: '#FC6A6A', stroke: '#FC6A6A' }, endWidth: 10, startWidth: 10 }],
+           { startValue: yh, endValue: 45, style: { fill: '#FC6A6A', stroke: '#FC6A6A' }, endWidth: 10, startWidth: 10 }],
   ticksMinor: { interval: 1, size: '5%' },
   ticksMajor: { interval: 5, size: '9%' },
   labels: { interval: 5 },
@@ -165,7 +165,7 @@
   thumbSize: '50%',
   orientation: 'vertical'
  },
- targetoptions = { inputMode: 'simple', theme: theme, width: 70, min: 0, max: 40, decimalDigits: 1, spinButtons: true },
+ targetoptions = { inputMode: 'simple', theme: theme, width: 70, min: 0, max: 45, decimalDigits: 1, spinButtons: true },
  url = 'getfermenter.php?uuid="' + my_uuid + '"',
  source = {
   datatype: 'json',
@@ -354,7 +354,7 @@
    yh = record.yeast_hi;
    range = { ranges: [{ startValue: 0, endValue: yl, style: { fill: '#3399FF', stroke: '#3399FF' }, endWidth: 10, startWidth: 10 },
                       { startValue: yl, endValue: yh, style: { fill: '#00CC33', stroke: '#00CC33' }, endWidth: 10, startWidth: 10 },
-                      { startValue: yh, endValue: 40, style: { fill: '#FC6A6A', stroke: '#FC6A6A' }, endWidth: 10, startWidth: 10 }]};
+                      { startValue: yh, endValue: 45, style: { fill: '#FC6A6A', stroke: '#FC6A6A' }, endWidth: 10, startWidth: 10 }]};
    $('#gaugeContainer_air').jqxGauge(range);
    $('#gaugeContainer_beer').jqxGauge(range);
 

mercurial