From 9755c3136189ffedb93d8b6a1bc4e2d405c45009 Mon Sep 17 00:00:00 2001 From: Azir-11 <2075125282@qq.com> Date: Wed, 29 Oct 2025 11:38:10 +0800 Subject: [PATCH] feat(projects): compatible with the new Echarts API and optimized styles. --- src/views/home/modules/line-chart.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/home/modules/line-chart.vue b/src/views/home/modules/line-chart.vue index 52708aa2..5e0b0797 100644 --- a/src/views/home/modules/line-chart.vue +++ b/src/views/home/modules/line-chart.vue @@ -22,13 +22,13 @@ const { domRef, updateOptions } = useEcharts(() => ({ }, legend: { data: [$t('page.home.downloadCount'), $t('page.home.registerCount')], - top: '3%' + top: '0' }, grid: { left: '3%', right: '4%', bottom: '3%', - containLabel: true + top: '15%' }, xAxis: { type: 'category',