Browse Source

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

new-design
Destiny.Lin 2 years ago
parent
commit
1bcac4b398
  1. 5
      designer-chart/src/main/java/com/fr/van/chart/multilayer/data/MultiPiePlotTableDataContentPane.java

5
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() {
} }
@ -242,7 +245,7 @@ public class MultiPiePlotTableDataContentPane extends AbstractTableDataContentPa
clearBoxItems(uiComboBox); clearBoxItems(uiComboBox);
} }
//默认选求和 //默认选求和
calculateCombox.setSelectedIndex(2); calculateCombox.setSelectedIndex(SUM_INDEX);
refreshCenterPane(); refreshCenterPane();
} }

Loading…
Cancel
Save