Browse Source

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

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

* commit 'bf021e82340c3cee7a3c7002d1da72446ac8eac6':
  CHART-14181 图表空数据提示
feature/big-screen
eason 4 years ago
parent
commit
047f45a98f
  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