Browse Source

CHART-14180 优化代码

feature/big-screen
白岳 4 years ago
parent
commit
7b66e7b244
  1. 7
      designer-chart/src/main/java/com/fr/van/chart/designer/style/axis/VanChartBaseAxisPane.java

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

@ -524,11 +524,8 @@ public class VanChartBaseAxisPane extends FurtherBasicBeanPane<VanChartAxis> {
} }
protected void checkTitlePane() { protected void checkTitlePane() {
if (showTitle != null) { if (showTitle != null && titlePane != null) {
boolean enabled = showTitle.getSelectedIndex() == 0; titlePane.setVisible(showTitle.getSelectedIndex() == 0);
if (titlePane != null) {
titlePane.setVisible(enabled);
}
} }
} }

Loading…
Cancel
Save