mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-17 19:55:24 +00:00
fix tooltips
This commit is contained in:
parent
0437133917
commit
4504a9d078
@ -150,12 +150,14 @@ function getOption() {
|
|||||||
color: "#ccc",
|
color: "#ccc",
|
||||||
},
|
},
|
||||||
enterable: true,
|
enterable: true,
|
||||||
|
confine: true,
|
||||||
extraCssText: "max-height: 300px; overflow: auto; border: none;",
|
extraCssText: "max-height: 300px; overflow: auto; border: none;",
|
||||||
};
|
};
|
||||||
const tips = {
|
const tips = {
|
||||||
formatter(params: any) {
|
formatter(params: any) {
|
||||||
return `${params[0].value[1]}`;
|
return `${params[0].value[1]}`;
|
||||||
},
|
},
|
||||||
|
confine: true,
|
||||||
extraCssText: `height: 20px; padding:0 2px;`,
|
extraCssText: `height: 20px; padding:0 2px;`,
|
||||||
trigger: "axis",
|
trigger: "axis",
|
||||||
textStyle: {
|
textStyle: {
|
||||||
|
Loading…
Reference in New Issue
Block a user