Browse Source

CHART-14181 图表空数据提示

feature/big-screen
白岳 4 years ago
parent
commit
c937d1a162
  1. 4
      designer-chart/src/main/java/com/fr/design/module/ChartEmptyDataStylePane.java

4
designer-chart/src/main/java/com/fr/design/module/ChartEmptyDataStylePane.java

@ -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);
}
}

Loading…
Cancel
Save