Browse Source

Pull request #2752: CHART-16481 增加空判断

Merge in DESIGN/design from ~QINGHUI.LIU/design:release/10.0 to release/10.0

* commit 'aae35afd3bde8296b8f516e6903bc1cd5f579462':
  CHART-16481 增加空判断
feature/big-screen
Qinghui.Liu 4 years ago
parent
commit
80eb540d01
  1. 12
      designer-chart/src/main/java/com/fr/van/chart/designer/style/axis/VanChartBaseAxisPane.java

12
designer-chart/src/main/java/com/fr/van/chart/designer/style/axis/VanChartBaseAxisPane.java

@ -584,13 +584,15 @@ public class VanChartBaseAxisPane extends FurtherBasicBeanPane<VanChartAxis> {
} }
protected void checkLabelGapPane() { protected void checkLabelGapPane() {
boolean visible = true; if (labelGapPane != null) {
boolean visible = true;
if (showLabelDisplay() && labelDisplayPane != null && labelDisplayComboBox != null) { if (showLabelDisplay() && labelDisplayPane != null && labelDisplayComboBox != null) {
visible = labelDisplayComboBox.getSelectedIndex() == 0; visible = labelDisplayComboBox.getSelectedIndex() == 0;
} }
labelGapPane.setVisible(visible); labelGapPane.setVisible(visible);
}
} }
protected void checkLabelGapValuePane() { protected void checkLabelGapValuePane() {

Loading…
Cancel
Save