From 0132553213b9647d55373061242b437b64f2ed3b Mon Sep 17 00:00:00 2001 From: Lufaneng Date: Tue, 15 Jul 2025 15:53:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=9A=82=E5=AD=981?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Linechart.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/Linechart.vue b/src/components/Linechart.vue index 2223474..e6de7f7 100644 --- a/src/components/Linechart.vue +++ b/src/components/Linechart.vue @@ -47,11 +47,11 @@ const option = computed(() => { }, yAxis: { type: 'value', - max: 100, - min: 0, + // max: 100, + // min: 0, axisLabel: { color: '#fff', - formatter: '{value}%' + // formatter: '{value}%' } }, grid: { @@ -61,7 +61,7 @@ const option = computed(() => { bottom: '10%', }, title: { - text: '有功功率kW', + text: '有功功率w', textStyle: { color: '#fff' } @@ -81,7 +81,7 @@ const option = computed(() => { formatter: '{value} 时' } }, - valueFormatter: (value) => value + '%' + // valueFormatter: (value) => value + '%' }, series: [ {