update style

This commit is contained in:
Qiuxia Fan 2022-07-08 11:42:01 +08:00
parent 7330443f64
commit 0a8e32857b
2 changed files with 2 additions and 4 deletions

View File

@ -148,11 +148,10 @@ function getOption() {
trigger: "axis", trigger: "axis",
zlevel: 1000, zlevel: 1000,
z: 60, z: 60,
backgroundColor: "rgb(50,50,50)",
confine: true, confine: true,
textStyle: { textStyle: {
fontSize: 13, fontSize: 13,
color: "#ccc", color: "#333",
}, },
enterable: true, enterable: true,
extraCssText: "max-height: 300px; overflow: auto; border: none", extraCssText: "max-height: 300px; overflow: auto; border: none",

View File

@ -154,10 +154,9 @@ function getOption() {
} }
const tooltip = { const tooltip = {
trigger: "axis", trigger: "axis",
backgroundColor: "rgb(50,50,50)",
textStyle: { textStyle: {
fontSize: 12, fontSize: 12,
color: "#ccc", color: "#333",
}, },
enterable: true, enterable: true,
confine: true, confine: true,