From bb39cbe30cf530a7554c5813e21ffaba9307a035 Mon Sep 17 00:00:00 2001 From: TreeWish <1131093754@qq.com> Date: 星期五, 24 二月 2023 15:39:29 +0800 Subject: [PATCH] 修改部分图表显示效果 --- src/components/chart/CountDataApply.vue | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/components/chart/CountDataApply.vue b/src/components/chart/CountDataApply.vue index ac948f4..0728704 100644 --- a/src/components/chart/CountDataApply.vue +++ b/src/components/chart/CountDataApply.vue @@ -27,7 +27,7 @@ xAxis.push(item.name) yAxis.push(item.number) }) - + // let data = [220, 182, 191, 234, 290, 330, 310] // const sideData = data.map(item => { // return { @@ -46,6 +46,13 @@ type: "shadow", // 榛樿涓虹洿绾匡紝鍙�変负锛�'line' | 'shadow' }, }, + grid: { + top: "10%", + bottom: "15%", + right: "5%", + left: "5%", + containLabel: true, + }, xAxis: { data: xAxis, //鍧愭爣杞� -- Gitblit v1.9.3