Browse Source

Pull request #9442: REPORT-74118 单元格数据源老模板切换到数据集数据并添加多分类,多分类不可修改

Merge in DESIGN/design from ~BRUCE.DENG/design:release/11.0 to release/11.0

* commit '8d441237c0a33e291fba097752e0a7e3cab9285e':
  REPORT-74118 单元格数据源老模板切换到数据集数据并添加多分类,多分类不可修改
release/11.0
Bruce.Deng 2 years ago
parent
commit
a9cf7497d8
  1. 3
      designer-chart/src/main/java/com/fr/van/chart/designer/data/VanChartMoreCateTableDataContentPane.java

3
designer-chart/src/main/java/com/fr/van/chart/designer/data/VanChartMoreCateTableDataContentPane.java

@ -22,13 +22,14 @@ public class VanChartMoreCateTableDataContentPane extends CategoryPlotMoreCateTa
@Override
public void populateBean(ChartCollection collection) {
super.populateBean(collection);
VanChartRectanglePlot plot = (VanChartRectanglePlot) collection.getSelectedChart().getPlot();
VanChartRectanglePlot plot = collection.getSelectedChart().getPlot();
isSupportMultiCategory = plot.isSupportMultiCategory();
checkBoxList(isSupportMultiCategory);
}
protected void updateMoreCate(NormalTableDataDefinition normal, Plot plot) {
super.updateMoreCate(normal, plot);
isSupportMultiCategory = ((VanChartRectanglePlot) plot).isSupportMultiCategory();
((VanChartPlot) plot).setCategoryNum(getBoxList().size() + 1);
if (!getBoxList().isEmpty()) {
plot.getDataSheet().setVisible(false);

Loading…
Cancel
Save