diff --git a/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue b/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue index 1e1d231008..ea2b3925ba 100644 --- a/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue +++ b/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue @@ -180,6 +180,12 @@ const handleDefaultVal = (chart: Chart) => { if (customAttr.tableCell.mergeCells === undefined) { customAttr.tableCell.mergeCells = false } + if (chart.type === 'table-pivot') { + if (!customAttr.tableTotal?.row?.subTotalsDimensionsNew) { + customAttr.tableTotal.row.subTotalsDimensionsNew = + !!customAttr.tableTotal.row.subTotalsDimensionsNew + } + } } const renderChart = (viewInfo: Chart, resetPageInfo: boolean) => { if (!viewInfo) {