mirror of
https://github.com/dataease/dataease.git
synced 2026-05-24 06:18:10 +08:00
feat(图表): 透视表行汇总小计可以根据维度灵活配置 #11336
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user