Skip to content

Commit 21b49a3

Browse files
committed
fix(projects): adjust legend position in line chart options.
1 parent 1d14269 commit 21b49a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ const { domRef, updateOptions } = useEcharts(() => ({
2121
}
2222
},
2323
legend: {
24-
data: [$t('page.home.downloadCount'), $t('page.home.registerCount')]
24+
data: [$t('page.home.downloadCount'), $t('page.home.registerCount')],
25+
top: '3%'
2526
},
2627
grid: {
2728
left: '3%',

0 commit comments

Comments
 (0)