|
|
@ -45,6 +45,9 @@ $(() => {
|
|
|
|
bottom: '0',
|
|
|
|
bottom: '0',
|
|
|
|
containLabel: true
|
|
|
|
containLabel: true
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
tooltip: {
|
|
|
|
|
|
|
|
// trigger: "axis",
|
|
|
|
|
|
|
|
},
|
|
|
|
xAxis: [
|
|
|
|
xAxis: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
interval: 0,
|
|
|
|
interval: 0,
|
|
|
@ -69,19 +72,6 @@ $(() => {
|
|
|
|
formatter: '{value} ml'
|
|
|
|
formatter: '{value} ml'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
|
|
|
|
splitLine: {
|
|
|
|
|
|
|
|
show: false,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
type: 'value',
|
|
|
|
|
|
|
|
name: 'Temperature',
|
|
|
|
|
|
|
|
min: 0,
|
|
|
|
|
|
|
|
max: 5,
|
|
|
|
|
|
|
|
interval: 1,
|
|
|
|
|
|
|
|
axisLabel: {
|
|
|
|
|
|
|
|
formatter: '{value} °C'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
],
|
|
|
|
],
|
|
|
|
series: [
|
|
|
|
series: [
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -115,18 +105,12 @@ $(() => {
|
|
|
|
$(window).resize(mycharts.resize);
|
|
|
|
$(window).resize(mycharts.resize);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$.getJSON('/foamBox/getStatisticalOutputByModel', function (result) {
|
|
|
|
$.getJSON(`/foamBox/getMouldTemperature?ids=${ids}`, function (result) {
|
|
|
|
temperature(result, document.getElementById("temperatureOne"));
|
|
|
|
temperature(result, document.getElementById("temperatureOne"));
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$.getJSON('/foamBox/getStatisticalOutputByModel', function (result) {
|
|
|
|
$.getJSON(`/foamBox/getMouldTemperature?ids=${ids}`, function (result) {
|
|
|
|
temperature(result, document.getElementById("temperatureTwo"));
|
|
|
|
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"));
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|