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