优化暂存1

main
Lufaneng 1 year ago
parent 3178ec0946
commit 0132553213

@ -47,11 +47,11 @@ const option = computed(() => {
}, },
yAxis: { yAxis: {
type: 'value', type: 'value',
max: 100, // max: 100,
min: 0, // min: 0,
axisLabel: { axisLabel: {
color: '#fff', color: '#fff',
formatter: '{value}%' // formatter: '{value}%'
} }
}, },
grid: { grid: {
@ -61,7 +61,7 @@ const option = computed(() => {
bottom: '10%', bottom: '10%',
}, },
title: { title: {
text: '有功功率kW', text: '有功功率w',
textStyle: { textStyle: {
color: '#fff' color: '#fff'
} }
@ -81,7 +81,7 @@ const option = computed(() => {
formatter: '{value} 时' formatter: '{value} 时'
} }
}, },
valueFormatter: (value) => value + '%' // valueFormatter: (value) => value + '%'
}, },
series: [ series: [
{ {

Loading…
Cancel
Save