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,