From f36a0aade7fcc957a2aaadc7f193fcd89f0f4a38 Mon Sep 17 00:00:00 2001 From: ljx <864490211@qq.com> Date: Tue, 10 Dec 2024 14:35:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A0=A1=E5=BA=A7=20=E5=AD=97=E4=BD=93?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=E4=BF=AE=E6=94=B9=E7=99=BD=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/baozuo-demo/LeftChart1.vue | 10 ++++++++-- src/components/baozuo-demo/LeftChart2.vue | 12 +++++++++--- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/components/baozuo-demo/LeftChart1.vue b/src/components/baozuo-demo/LeftChart1.vue index c1e29b3..fc7d026 100644 --- a/src/components/baozuo-demo/LeftChart1.vue +++ b/src/components/baozuo-demo/LeftChart1.vue @@ -28,13 +28,19 @@ export default { console.log(myChart) this.option = { title: { - text: '近一周产量趋势' + text: '近一周产量趋势', + textStyle:{ + color:'#fff' + } }, tooltip: { trigger: 'axis' }, legend: { - data: ['机芯1线', '机芯2线', '盖板线', '整机线'] + data: ['机芯1线', '机芯2线', '盖板线', '整机线'], + textStyle:{ + color:'#fff' + } }, grid: { left: '3%', diff --git a/src/components/baozuo-demo/LeftChart2.vue b/src/components/baozuo-demo/LeftChart2.vue index b48dcc5..d6b537a 100644 --- a/src/components/baozuo-demo/LeftChart2.vue +++ b/src/components/baozuo-demo/LeftChart2.vue @@ -29,13 +29,19 @@ export default { this.option = { title: { text: '月生产情况', - subtext: '完成率' + subtext: '完成率', + textStyle:{ + color:'#fff' + } }, tooltip: { - trigger: 'axis' + trigger: 'axis', }, legend: { - data: ['机芯1线', '机芯2线', '盖板线'] + data: ['机芯1线', '机芯2线', '盖板线'], + textStyle:{ + color:'#fff' + } }, toolbox: { show: true,