Skip to content

Commit a9fd756

Browse files
committed
feat(projects): compatible with the new Echarts API and optimized styles.
1 parent 21b49a3 commit a9fd756

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/views/home/modules/line-chart.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ const { domRef, updateOptions } = useEcharts(() => ({
2222
},
2323
legend: {
2424
data: [$t('page.home.downloadCount'), $t('page.home.registerCount')],
25-
top: '3%'
25+
top: '0'
2626
},
2727
grid: {
2828
left: '3%',
2929
right: '4%',
3030
bottom: '3%',
31-
containLabel: true
31+
top: '15%'
3232
},
3333
xAxis: {
3434
type: 'category',

0 commit comments

Comments
 (0)