feat(projects): compatible with the new Echarts API and optimized styles.

This commit is contained in:
Azir-11
2025-10-29 11:38:10 +08:00
committed by Soybean
parent 0b9982bdc6
commit 9755c31361

View File

@@ -22,13 +22,13 @@ const { domRef, updateOptions } = useEcharts(() => ({
}, },
legend: { legend: {
data: [$t('page.home.downloadCount'), $t('page.home.registerCount')], data: [$t('page.home.downloadCount'), $t('page.home.registerCount')],
top: '3%' top: '0'
}, },
grid: { grid: {
left: '3%', left: '3%',
right: '4%', right: '4%',
bottom: '3%', bottom: '3%',
containLabel: true top: '15%'
}, },
xAxis: { xAxis: {
type: 'category', type: 'category',