Browse Source

Pull request #1734: CHART-14181 图表空数据提示

Merge in DESIGN/design from ~BJORN/design:release/10.0 to release/10.0

* commit 'c937d1a162351ceb46b5a95bed713016711d1fa1':
  CHART-14181 图表空数据提示
feature/big-screen
Bjorn 4 years ago
parent
commit
8f9225474b
  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