|
|
|
@ -250,7 +250,7 @@ public class ChartEmptyDataStylePane extends AbstractAttrNoScrollPane {
|
|
|
|
|
ChartEmptyDataStyleConf manager = ChartEmptyDataStyleConf.getInstance(); |
|
|
|
|
emptyData.setSelectedIndex(manager.isOpenEmptyDataStyle() ? 0 : 1); |
|
|
|
|
imageData.setSelectedIndex(manager.isCustomEmptyDataStyle() ? 1 : 0); |
|
|
|
|
adjustRadioButton.setSelected(manager.isAdjust()); |
|
|
|
|
//adjustRadioButton.setSelected(manager.isAdjust());
|
|
|
|
|
emptyDataImage = manager.getEmptyDataImage(); |
|
|
|
|
|
|
|
|
|
checkEmptyDataStyle(); |
|
|
|
@ -264,7 +264,7 @@ public class ChartEmptyDataStylePane extends AbstractAttrNoScrollPane {
|
|
|
|
|
|
|
|
|
|
manager.setOpenEmptyDataStyle(emptyData.getSelectedIndex() == 0); |
|
|
|
|
manager.setCustomEmptyDataStyle(imageData.getSelectedIndex() == 1); |
|
|
|
|
manager.setAdjust(adjustRadioButton.isSelected()); |
|
|
|
|
//manager.setAdjust(adjustRadioButton.isSelected());
|
|
|
|
|
manager.setEmptyDataImage(emptyDataImage); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|