Ver código fonte

Fix padding issue of charts in monitoring page of Sentinel dashboard (#262)

- Increase padding-left value of G2.chart in sentinel-dashboard
master
cdfive Eric Zhao 6 anos atrás
pai
commit
4f854c9eae
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      sentinel-dashboard/src/main/webapp/resources/app/scripts/controllers/metric.js

+ 1
- 1
sentinel-dashboard/src/main/webapp/resources/app/scripts/controllers/metric.js Ver arquivo

@@ -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) {


Carregando…
Cancelar
Salvar