From eb2c2dc7b39382c67c97b9e1b13a5e291ebdc31f Mon Sep 17 00:00:00 2001 From: "Qinghui.Liu" Date: Thu, 8 Oct 2020 20:30:29 +0800 Subject: [PATCH] =?UTF-8?q?CHART-15965=20=E6=97=A0=E8=BE=B9=E6=A1=86?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E7=95=8C=E9=9D=A2=E6=97=B6=EF=BC=8Cborder?= =?UTF-8?q?=E5=AE=BD=E5=BA=A6=E8=AE=BE=E7=BD=AE=E4=B8=BA0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../designer/style/label/VanChartPlotLabelDetailPane.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/designer-chart/src/main/java/com/fr/van/chart/designer/style/label/VanChartPlotLabelDetailPane.java b/designer-chart/src/main/java/com/fr/van/chart/designer/style/label/VanChartPlotLabelDetailPane.java index 22f8ace78..b6143dc17 100644 --- a/designer-chart/src/main/java/com/fr/van/chart/designer/style/label/VanChartPlotLabelDetailPane.java +++ b/designer-chart/src/main/java/com/fr/van/chart/designer/style/label/VanChartPlotLabelDetailPane.java @@ -14,6 +14,7 @@ import com.fr.design.mainframe.chart.gui.style.ChartTextAttrPane; import com.fr.design.style.color.ColorSelectBox; import com.fr.general.ComparatorUtils; import com.fr.plugin.chart.attr.plot.VanChartLabelPositionPlot; +import com.fr.plugin.chart.base.AttrBorderWithShape; import com.fr.plugin.chart.base.AttrLabelDetail; import com.fr.plugin.chart.base.AttrTooltipContent; import com.fr.stable.Constants; @@ -370,6 +371,10 @@ public class VanChartPlotLabelDetailPane extends BasicPane { } if(borderPane != null){ borderPane.update(detail.getBorder()); + } else { + AttrBorderWithShape border = new AttrBorderWithShape(); + border.setBorderStyle(Constants.LINE_NONE); + detail.setBorder(border); } if(backgroundPane != null){ backgroundPane.update(detail.getBackground());