From 0a8e32857bb78d2a80d878a4fac289e6cd464058 Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Fri, 8 Jul 2022 11:42:01 +0800 Subject: [PATCH] update style --- src/views/dashboard/graphs/Bar.vue | 3 +-- src/views/dashboard/graphs/Line.vue | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/dashboard/graphs/Bar.vue b/src/views/dashboard/graphs/Bar.vue index 7c8b3519..70e2def3 100644 --- a/src/views/dashboard/graphs/Bar.vue +++ b/src/views/dashboard/graphs/Bar.vue @@ -148,11 +148,10 @@ function getOption() { trigger: "axis", zlevel: 1000, z: 60, - backgroundColor: "rgb(50,50,50)", confine: true, textStyle: { fontSize: 13, - color: "#ccc", + color: "#333", }, enterable: true, extraCssText: "max-height: 300px; overflow: auto; border: none", diff --git a/src/views/dashboard/graphs/Line.vue b/src/views/dashboard/graphs/Line.vue index 0fb10502..30179034 100644 --- a/src/views/dashboard/graphs/Line.vue +++ b/src/views/dashboard/graphs/Line.vue @@ -154,10 +154,9 @@ function getOption() { } const tooltip = { trigger: "axis", - backgroundColor: "rgb(50,50,50)", textStyle: { fontSize: 12, - color: "#ccc", + color: "#333", }, enterable: true, confine: true,