Browse Source

增加空判断

feature/big-screen
Qinghui.Liu 4 years ago
parent
commit
ab84bc604f
  1. 4
      designer-chart/src/main/java/com/fr/van/chart/column/VanChartColumnPlotLabelDetailPane.java

4
designer-chart/src/main/java/com/fr/van/chart/column/VanChartColumnPlotLabelDetailPane.java

@ -32,6 +32,10 @@ public class VanChartColumnPlotLabelDetailPane extends VanChartPlotLabelDetailPa
UIButtonGroup<Integer> content = dataLabelContentPane.getContent();
UIButtonGroup<Integer> orientation = getOrientation();
if (content == null || orientation == null) {
return;
}
if (content.getSelectedIndex() == VanChartTooltipContentPane.RICH_EDITOR_INDEX) {
orientation.setSelectedIndex(HORIZONTAL_INDEX);
orientation.setEnabled(false);

Loading…
Cancel
Save