Browse Source

Pull request #12115: REPORT-95731 多层饼图、矩形树图的汇总方式下拉项为空

Merge in DESIGN/design from ~DESTINY.LIN/design:final/11.0 to final/11.0

* commit '1bcac4b39842c7eed6606d7f443e1cb09a2fa050':
  REPORT-95731 多层饼图、矩形树图的汇总方式下拉项为空
  REPORT-95731 多层饼图、矩形树图的汇总方式下拉项为空
new-design
Destiny.Lin-林锦龙 2 years ago
parent
commit
4ba221c73a
  1. 6
      designer-chart/src/main/java/com/fr/van/chart/multilayer/data/MultiPiePlotTableDataContentPane.java

6
designer-chart/src/main/java/com/fr/van/chart/multilayer/data/MultiPiePlotTableDataContentPane.java

@ -58,6 +58,9 @@ public class MultiPiePlotTableDataContentPane extends AbstractTableDataContentPa
//将数据列名保存下来,在update时会删除层级名列表,需要用保存的list重新初始化新的层级名列表 //将数据列名保存下来,在update时会删除层级名列表,需要用保存的list重新初始化新的层级名列表
private List columnNameList; private List columnNameList;
//汇总方式求和的索引
public static final int SUM_INDEX = 2;
public MultiPiePlotTableDataContentPane() { public MultiPiePlotTableDataContentPane() {
} }
@ -241,7 +244,8 @@ public class MultiPiePlotTableDataContentPane extends AbstractTableDataContentPa
for (UIComboBox uiComboBox : levelNameList) { for (UIComboBox uiComboBox : levelNameList) {
clearBoxItems(uiComboBox); clearBoxItems(uiComboBox);
} }
clearBoxItems(calculateCombox); //默认选求和
calculateCombox.setSelectedIndex(SUM_INDEX);
refreshCenterPane(); refreshCenterPane();
} }

Loading…
Cancel
Save