From d670b4d8b779d26ac7848c2f59d0a527c3f9cfad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Thu, 16 May 2024 12:53:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesB/Healthindex/Healthindex.vue | 56 +++++++++++++------ .../threeHundredAndSixty.vue | 5 +- 2 files changed, 43 insertions(+), 18 deletions(-) diff --git a/pagesB/Healthindex/Healthindex.vue b/pagesB/Healthindex/Healthindex.vue index 653bb2d..3bbf42c 100644 --- a/pagesB/Healthindex/Healthindex.vue +++ b/pagesB/Healthindex/Healthindex.vue @@ -1,5 +1,6 @@ @@ -74,9 +75,11 @@ cardNo: '', healthdata: {}, line_opts: { - color: ["#1890FF", "#91CB74", "#FAC858", "#EE6666", "#73C0DE", "#3CA272", "#FC8452", "#9A60B4", + color: ["#FAC858", "#EE6666", "#73C0DE", "#3CA272", "#FC8452", "#9A60B4", "#ea7ccc" ], + // fontColor: '#fff', + // background: 'rgba(0, 22, 58, 1)', dataLabel: true, enableScroll: true, touchMoveLimit: 24, @@ -85,16 +88,22 @@ lineHeight: 40, disableGrid: true, boundaryGap: "center", - fontSize: 10, + fontSize: 12, type: 'grid', gridType: 'dash', + color: '#fff', itemCount: 3, //x轴单屏显示数据的数量,默认为5个 scrollShow: true, //新增是否显示滚动条,默认false scrollAlign: 'left', //滚动条初始位置 + // fontColor: '#fff', + // background: 'rgba(0, 22, 58, 1)', }, yAxis: { gridType: "dash", - dashLength: 2 + dashLength: 2, + fontColor: '#fff', + fontSize: 14, + // background: 'rgba(0, 22, 58, 1)', }, extra: { line: { @@ -213,10 +222,22 @@