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