diff --git a/src/views/dashboard/graphs/Line.vue b/src/views/dashboard/graphs/Line.vue index 084e1c4f..1d72d199 100644 --- a/src/views/dashboard/graphs/Line.vue +++ b/src/views/dashboard/graphs/Line.vue @@ -150,12 +150,14 @@ function getOption() { color: "#ccc", }, enterable: true, + confine: true, extraCssText: "max-height: 300px; overflow: auto; border: none;", }; const tips = { formatter(params: any) { return `${params[0].value[1]}`; }, + confine: true, extraCssText: `height: 20px; padding:0 2px;`, trigger: "axis", textStyle: {