From 4f854c9eae3be87d3364f1400c19dada4e3986f3 Mon Sep 17 00:00:00 2001 From: cdfive <31885791+cdfive@users.noreply.github.com> Date: Mon, 26 Nov 2018 17:42:17 +0800 Subject: [PATCH] Fix padding issue of charts in monitoring page of Sentinel dashboard (#262) - Increase padding-left value of G2.chart in sentinel-dashboard --- .../src/main/webapp/resources/app/scripts/controllers/metric.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentinel-dashboard/src/main/webapp/resources/app/scripts/controllers/metric.js b/sentinel-dashboard/src/main/webapp/resources/app/scripts/controllers/metric.js index ebb810f8..7986d2f6 100755 --- a/sentinel-dashboard/src/main/webapp/resources/app/scripts/controllers/metric.js +++ b/sentinel-dashboard/src/main/webapp/resources/app/scripts/controllers/metric.js @@ -68,7 +68,7 @@ app.controller('MetricCtl', ['$scope', '$stateParams', 'MetricService', '$interv forceFit: true, width: 100, height: 250, - padding: [10, 30, 70, 30] + padding: [10, 30, 70, 50] }); var maxQps = 0; for (var i in metric.data) {