|
|
|
@ -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); |
|
|
|
|