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());