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. 2
      designer-chart/src/main/java/com/fr/van/chart/designer/style/axis/VanChartBaseAxisPane.java

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

@ -584,6 +584,7 @@ public class VanChartBaseAxisPane extends FurtherBasicBeanPane<VanChartAxis> {
} }
protected void checkLabelGapPane() { protected void checkLabelGapPane() {
if (labelGapPane != null) {
boolean visible = true; boolean visible = true;
if (showLabelDisplay() && labelDisplayPane != null && labelDisplayComboBox != null) { if (showLabelDisplay() && labelDisplayPane != null && labelDisplayComboBox != null) {
@ -592,6 +593,7 @@ public class VanChartBaseAxisPane extends FurtherBasicBeanPane<VanChartAxis> {
labelGapPane.setVisible(visible); labelGapPane.setVisible(visible);
} }
}
protected void checkLabelGapValuePane() { protected void checkLabelGapValuePane() {
if (labelGapValuePane != null && labelGapStyle != null) { if (labelGapValuePane != null && labelGapStyle != null) {

Loading…
Cancel
Save