修改报表

master
夜笙歌 2 years ago
parent eb7ba6ce07
commit 20b84ac217

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

@ -47,12 +47,6 @@
<div class="swiper-slide">
<div class="temperatureTwo" id="temperatureTwo"></div>
</div>
<div class="swiper-slide">
<div class="temperatureThree" id="temperatureThree"></div>
</div>
<div class="swiper-slide">
<div class="temperatureFour" id="temperatureFour"></div>
</div>
</div>
</div>
</body>

Loading…
Cancel
Save