From b17c0969aade7d0d369ae2b2247df131f9533c0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=B4=A0?= <66666@66.com> Date: Sun, 28 Apr 2024 09:37:05 +0800 Subject: [PATCH] 111 --- src/views/modules/home/index.vue | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/src/views/modules/home/index.vue b/src/views/modules/home/index.vue index 66f42ddb6..a9e06684c 100644 --- a/src/views/modules/home/index.vue +++ b/src/views/modules/home/index.vue @@ -254,33 +254,7 @@ export default { myChart: {}, myBarchart: {}, agencyLevel: '', - yData: [ - // { - // value: 720, - // itemStyle: { - // color: { - // type: 'linear', - // x: 0, - // y: 0, - // x2: 0, - // y2: 1, - // colorStops: [{ - // offset: 0, color: '#2D7DF2' // 上部颜色 - // }, { - // offset: 0.45, color: '#7EB1FE' // 中部颜色 - // }, { - // offset: 0.45, color: '#EFB632' // 中部颜色 - // }, { - // offset: 1, color: '#FDD77D' // 下部颜色 - // }], - // global: false // 默认为 false - // }, - // shadowColor: "#91cc75", - // borderType: "dashed", - // // opacity: 0.5 - // } - // },725,165,765,742,710,720,730,735,762,754 - ], + yData: [], myChartStyle: { float: "left", width: "140%", height: "100%" }, } }, @@ -724,7 +698,6 @@ export default { type: 'shadow' } }, - legend: { x: 'center', bottom: '8%', @@ -767,6 +740,7 @@ export default { name: '分类信息不完整数', type: 'bar', stack: '总量', + barWidth: '30px', data: data.categoryStatsDatas.map((item, index) => ({ value: item.nonIntegratedNum, extraProperty: item.resiCategory