添加振动监控图表

master
夜笙歌 2 months ago
parent 8cb779c965
commit eda254a346

@ -8,9 +8,10 @@
</head> </head>
<style> <style>
.chartDiv { .chartDiv {
width: 50%; width: 49%;
height: 22vw; height: 22vw;
position: relative; position: relative;
display: inline-block;
} }
.chartDiv .chart { .chartDiv .chart {
@ -162,7 +163,7 @@
}, },
center: ['25%', '50%'], center: ['25%', '50%'],
radius: '90%', radius: '90%',
max: Math.ceil(v.speed / 100) * 100, max: Math.max(Math.ceil(v.speed / 100),1 ) * 100,
data: [ data: [
{ {
value: v.speed, value: v.speed,

Loading…
Cancel
Save