|
|
|
@ -47,7 +47,7 @@ public class ChartHyperPoplinkPane extends BasicBeanPane<ChartHyperPoplink> {
|
|
|
|
|
ChartCollection cc = createChartCollection(); |
|
|
|
|
|
|
|
|
|
chartComponent = new ChartComponent(); |
|
|
|
|
chartComponent.setPreferredSize(new Dimension(220, 170));// <EFBFBD>ڵ<EFBFBD>Ԫ<EFBFBD><EFBFBD>ʱ <EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD>Ĵ<EFBFBD>С.
|
|
|
|
|
chartComponent.setPreferredSize(new Dimension(220, 170));// 在单元格弹出时 需要调整保证属性表的大小.
|
|
|
|
|
chartComponent.setSupportEdit(false); |
|
|
|
|
chartComponent.populate(cc); |
|
|
|
|
|
|
|
|
@ -72,18 +72,6 @@ public class ChartHyperPoplinkPane extends BasicBeanPane<ChartHyperPoplink> {
|
|
|
|
|
}else { |
|
|
|
|
cc.addChart(new Chart(new Bar2DPlot())); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
chartComponent = new ChartComponent(); |
|
|
|
|
chartComponent.setPreferredSize(new Dimension(220, 170));// 在单元格弹出时 需要调整保证属性表的大小.
|
|
|
|
|
chartComponent.setSupportEdit(false); |
|
|
|
|
chartComponent.populate(cc); |
|
|
|
|
|
|
|
|
|
this.add(chartComponent, BorderLayout.EAST); |
|
|
|
|
|
|
|
|
|
hyperEditPane.populate(cc); |
|
|
|
|
|
|
|
|
|
hyperEditPane.useChartComponent(chartComponent); |
|
|
|
|
|
|
|
|
|
return cc; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|