Please enter the commit message for your changes. Lines starting

with '#' will be ignored, and an empty message aborts the commit.

On branch main
Your branch is up to date with 'RQteafactory-NodeJS/main'.

Changes to be committed:
	modified:   static/css/sensor-1.css
	modified:   static/js/sensor-1.js
This commit is contained in:
IrisVega 2024-07-24 11:47:12 +08:00
parent 434e0422fb
commit dc2e120ea4
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ body,html {
}
.bottom {
height: 70%;
height: 75%;
width: 100%;
display: flex;
justify-content: center;

View File

@ -40,7 +40,7 @@ document.addEventListener('DOMContentLoaded', function () {
tooltip: { trigger: 'axis' },
legend: { data: ['温度'], textStyle: { color: 'white' } },
xAxis: { type: 'category', data: timestamps, axisLabel: { color: 'white' } },
yAxis: { type: 'value', axisLabel: { color: 'white' } },
yAxis: { type: 'value',min:0,max:400, axisLabel: { color: 'white' } },
series: [{ name: '温度', type: 'line', data: temperatures }]
};
myChart.setOption(option);