1.图表出现负数
chartOptions = {
maintainAspectRatio: false,
scales: {
yAxes: [{
ticks: {
suggestedMin: 0,
suggestedMax: 10
}
}]
}
}
2.
@@ -515,11 +515,16 @@ | ||
-webkit-box-flex: 1; | ||
} | ||
:host >>> p-chart div:first-child .chartjs-hidden-iframe{ | ||
height:100%; | ||
/*height:100%;*/ | ||
} | ||
:host >>> p-chart div:first-child canvas{ | ||
/*width:auto !important;*/ | ||
height:355px !important; | ||
/*height:355px !important;*/ | ||
} | ||
:host >>> p-chart div:first-child{ | ||
width: 100%; | ||
height: 360px; | ||
position: relative; | ||
} | ||
.table{ | ||
width:100%; |
时间: 2024-10-29 19:07:00