mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
fix(图表): 修复透视表自定义汇总列总计中的行小计不显示 (#15348)
This commit is contained in:
@@ -208,8 +208,8 @@ public class TablePivotHandler extends GroupChartHandler {
|
||||
}
|
||||
}
|
||||
// 列总计里面的行小计
|
||||
if (col.isShowGrandTotals() && row.isShowGrandTotals() && rowAxis.size() >= 2) {
|
||||
var yAxis = getCustomFields(view, row.getCalcTotals().getCfg());
|
||||
if (col.isShowGrandTotals() && row.isShowSubTotals() && rowAxis.size() >= 2) {
|
||||
var yAxis = getCustomFields(view, row.getCalcSubTotals().getCfg());
|
||||
if (!yAxis.isEmpty()) {
|
||||
var tmpData = new ArrayList<Map<String, Object>>();
|
||||
dataMap.put("rowSubInColTotal", tmpData);
|
||||
|
||||
Reference in New Issue
Block a user