|
|
|
@ -167,7 +167,6 @@ public class ChartTypePane extends AbstractChartAttrPane{
|
|
|
|
|
//重构需要重构下拉框选项和cardNames
|
|
|
|
|
Chart chart = collection.getSelectedChart(); |
|
|
|
|
String chartID = chart.getChartID(); |
|
|
|
|
String plotID = chart.getPlot().getPlotID(); |
|
|
|
|
if (collection.getState() == SwitchState.DEFAULT){ |
|
|
|
|
chartID = StringUtils.EMPTY; |
|
|
|
|
} |
|
|
|
@ -181,6 +180,8 @@ public class ChartTypePane extends AbstractChartAttrPane{
|
|
|
|
|
fcb.addItem(cardNames[i]); |
|
|
|
|
} |
|
|
|
|
//重新选择选中的下拉项
|
|
|
|
|
chartID = chart.getChartID(); |
|
|
|
|
String plotID = chart.getPlot().getPlotID(); |
|
|
|
|
Object item = ChartTypeInterfaceManager.getInstance().getTitle4PopupWindow(chartID, plotID); |
|
|
|
|
jcb.setSelectedItem(item); |
|
|
|
|
fcb.setItemEvenType(ItemEventType.DEFAULT); |
|
|
|
|