Fix tooltip style to support multiple metrics scrolling view in a metrics graph (#325)

This commit is contained in:
Fine0830
2023-10-08 10:58:47 +08:00
committed by GitHub
parent e42734ba80
commit 70063c376f
2 changed files with 2 additions and 2 deletions

View File

@@ -82,7 +82,7 @@ limitations under the License. -->
}, },
enterable: true, enterable: true,
confine: true, confine: true,
extraCssText: "max-height: 300px; overflow: auto; border: none;", extraCssText: "max-height:85%; overflow: auto;",
}, },
legend: { legend: {
type: "scroll", type: "scroll",

View File

@@ -99,7 +99,7 @@ limitations under the License. -->
}, },
enterable: true, enterable: true,
confine: true, confine: true,
extraCssText: "max-height: 300px; overflow: auto; border: none;", extraCssText: "max-height:85%; overflow: auto;",
}; };
const tips = { const tips = {
formatter(params: any) { formatter(params: any) {