1
This commit is contained in:
parent
2e489de7a3
commit
d5cce5fd21
@ -935,6 +935,7 @@ function App() {
|
||||
},
|
||||
[chartSummaryBySelection, selectedContentNodes],
|
||||
);
|
||||
const pivotGridSampleCount = pivotGridPinnedBottomRowData[0]?.dataCount ?? 0;
|
||||
const pivotGridColumnDefs = useMemo<(ColDef<PivotGridRow> | ColGroupDef<PivotGridRow>)[]>(
|
||||
() => {
|
||||
const valueFormatter = ({ value }: ValueFormatterParams<PivotGridRow, number | null>) => (
|
||||
@ -982,7 +983,7 @@ function App() {
|
||||
],
|
||||
},
|
||||
{
|
||||
headerName: `样本统计值(${pivotGridRowData.length})`,
|
||||
headerName: `样本统计值(${formatNumber(pivotGridSampleCount, 0)})`,
|
||||
children: [
|
||||
{
|
||||
field: 'maxValue',
|
||||
@ -1039,7 +1040,7 @@ function App() {
|
||||
},
|
||||
];
|
||||
},
|
||||
[pivotGridRowData.length, requestMetricKey],
|
||||
[pivotGridSampleCount, requestMetricKey],
|
||||
);
|
||||
const fitPivotGridColumns = useCallback(() => {
|
||||
window.requestAnimationFrame(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user