diff --git a/src/views/dashboard/graphs/Bar.vue b/src/views/dashboard/graphs/Bar.vue index 8a7012a2..aed49ef3 100644 --- a/src/views/dashboard/graphs/Bar.vue +++ b/src/views/dashboard/graphs/Bar.vue @@ -140,6 +140,7 @@ function getOption() { zlevel: 1000, z: 60, backgroundColor: "rgb(50,50,50)", + confine: true, textStyle: { fontSize: 13, color: "#ccc", diff --git a/src/views/dashboard/related/topology/components/Sankey.vue b/src/views/dashboard/related/topology/components/Sankey.vue index e92257cd..afa86d1f 100644 --- a/src/views/dashboard/related/topology/components/Sankey.vue +++ b/src/views/dashboard/related/topology/components/Sankey.vue @@ -38,6 +38,7 @@ function getOption() { return { tooltip: { trigger: "item", + confine: true, }, series: { type: "sankey",