diff --git a/productionboard/src/main/resources/static/js/foamBox/index.js b/productionboard/src/main/resources/static/js/foamBox/index.js index e2136f1..3b58b45 100644 --- a/productionboard/src/main/resources/static/js/foamBox/index.js +++ b/productionboard/src/main/resources/static/js/foamBox/index.js @@ -45,6 +45,9 @@ $(() => { bottom: '0', containLabel: true }, + tooltip: { + // trigger: "axis", + }, xAxis: [ { interval: 0, @@ -69,19 +72,6 @@ $(() => { formatter: '{value} ml' } }, - { - splitLine: { - show: false, - }, - type: 'value', - name: 'Temperature', - min: 0, - max: 5, - interval: 1, - axisLabel: { - formatter: '{value} °C' - } - } ], series: [ { @@ -115,18 +105,12 @@ $(() => { $(window).resize(mycharts.resize); } - $.getJSON('/foamBox/getStatisticalOutputByModel', function (result) { + $.getJSON(`/foamBox/getMouldTemperature?ids=${ids}`, function (result) { temperature(result, document.getElementById("temperatureOne")); }); - $.getJSON('/foamBox/getStatisticalOutputByModel', function (result) { + $.getJSON(`/foamBox/getMouldTemperature?ids=${ids}`, function (result) { temperature(result, document.getElementById("temperatureTwo")); }); - $.getJSON('/foamBox/getStatisticalOutputByModel', function (result) { - temperature(result, document.getElementById("temperatureThree")); - }); - $.getJSON('/foamBox/getStatisticalOutputByModel', function (result) { - temperature(result, document.getElementById("temperatureFour")); - }); }) diff --git a/productionboard/src/main/resources/templates/foamBox/index.html b/productionboard/src/main/resources/templates/foamBox/index.html index 784e3d5..e40df48 100644 --- a/productionboard/src/main/resources/templates/foamBox/index.html +++ b/productionboard/src/main/resources/templates/foamBox/index.html @@ -47,12 +47,6 @@
-
-
-
-
-
-