|
|
|
@ -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"));
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|