This commit is contained in:
Fine 2022-11-10 13:48:43 +08:00
parent 06cca7145c
commit e0047cc0ad
3 changed files with 4 additions and 5 deletions

View File

@ -215,6 +215,7 @@ onBeforeUnmount(() => {
.chart {
overflow: hidden;
flex: 1;
}
.menus {

View File

@ -84,7 +84,7 @@ export default function useLegendProcess(legend?: LegendOptions) {
prev += Number(next);
return prev;
}, 0);
item.mean = (total / data[value].length).toFixed(2);
item.mean = (total / data[value].length).toFixed(4);
if (key === 0) {
headers.push({ value: "mean", label: "Mean" });
}

View File

@ -115,13 +115,11 @@ table {
table-layout: fixed;
}
table td,
table th {
padding: 0.5rem 1rem;
padding: 5px;
}
table thead th {
padding: 3px;
position: sticky;
top: 0;
z-index: 1;
@ -130,7 +128,7 @@ table thead th {
}
table td {
padding: 4px 5px;
padding: 5px;
text-align: center;
}