From cfd07a17ac9a535e905c4dd529869b7f217b9d62 Mon Sep 17 00:00:00 2001 From: Fine Date: Thu, 10 Nov 2022 12:04:54 +0800 Subject: [PATCH] update options --- src/views/dashboard/graphs/Line.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,