From ab84bc604f46e07039c1748c49905e330c49352c Mon Sep 17 00:00:00 2001 From: "Qinghui.Liu" Date: Sun, 18 Oct 2020 17:06:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=A9=BA=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../van/chart/column/VanChartColumnPlotLabelDetailPane.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/designer-chart/src/main/java/com/fr/van/chart/column/VanChartColumnPlotLabelDetailPane.java b/designer-chart/src/main/java/com/fr/van/chart/column/VanChartColumnPlotLabelDetailPane.java index 8de2097128..a2be5f2905 100644 --- a/designer-chart/src/main/java/com/fr/van/chart/column/VanChartColumnPlotLabelDetailPane.java +++ b/designer-chart/src/main/java/com/fr/van/chart/column/VanChartColumnPlotLabelDetailPane.java @@ -32,6 +32,10 @@ public class VanChartColumnPlotLabelDetailPane extends VanChartPlotLabelDetailPa UIButtonGroup content = dataLabelContentPane.getContent(); UIButtonGroup orientation = getOrientation(); + if (content == null || orientation == null) { + return; + } + if (content.getSelectedIndex() == VanChartTooltipContentPane.RICH_EDITOR_INDEX) { orientation.setSelectedIndex(HORIZONTAL_INDEX); orientation.setEnabled(false);