diff --git a/src/views/dashboard/graphs/Bar.vue b/src/views/dashboard/graphs/Bar.vue index 83fd14c3..6c93cbd6 100644 --- a/src/views/dashboard/graphs/Bar.vue +++ b/src/views/dashboard/graphs/Bar.vue @@ -113,7 +113,7 @@ limitations under the License. --> }, enterable: true, confine: true, - extraCssText: "max-height:85%; overflow: auto;", + extraCssText: "max-width: 100%; max-height: 75%; white-space: normal; overflow: auto;", }, legend: { type: "scroll", diff --git a/src/views/dashboard/graphs/Line.vue b/src/views/dashboard/graphs/Line.vue index 64a38783..808fb384 100644 --- a/src/views/dashboard/graphs/Line.vue +++ b/src/views/dashboard/graphs/Line.vue @@ -111,7 +111,7 @@ limitations under the License. --> }, enterable: true, confine: true, - extraCssText: "max-height:85%; overflow: auto;", + extraCssText: "max-width: 100%; max-height: 75%; white-space: normal; overflow: auto;", }; const tips = { show: !props.config.noTooltips,