* Fix metric chart style.

This commit is contained in:
qixinzhi
2023-09-26 08:20:37 +00:00
parent b06d37cb91
commit 891c493a12
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
.main .table-and-charts {height: calc(100vh - 172px); max-height: calc(100% - 48px); overflow-y: scroll;}
.main .metricBox {max-height: 408px;}
.chart-single {height: calc(100% - 32px); width: 100%;}
.chart-multiple {height: 290px; width: 100%;}
.chart-multiple {height: 285px; width: 100%;}
.chart-type {width: 30%; padding-left: 50px;}
.table-and-chart .table-side {flex: 0 0 480px; overflow-x: hidden;}
+1 -3
View File
@@ -419,8 +419,6 @@ window.initDTable = function($obj, head, data)
cellWidth[col] = Math.floor(cellWidth[col] / colsWidth * width);
});
console.log(cellWidth);
new zui.DTable($obj,{
responsive: true,
bordered: true,
@@ -540,7 +538,7 @@ window.initChart = function($obj, head, data, chartType)
grid: {
left: '10%',
right: '10%',
bottom: '10%',
bottom: '15%',
containLabel: true
},
legend: {