diff --git a/src/views/dashboard/graphs/Line.vue b/src/views/dashboard/graphs/Line.vue index 34b878d4..c26c6b12 100644 --- a/src/views/dashboard/graphs/Line.vue +++ b/src/views/dashboard/graphs/Line.vue @@ -150,7 +150,7 @@ function getOption() { }, }, grid: { - top: keys.length === 1 ? 15 : 55, + top: showEchartsLegend(keys) ? 35 : 10, left: 0, right: 10, bottom: 5,