Browse Source

fix

feature/big-screen
白岳 4 years ago
parent
commit
981f025d40
  1. 6
      designer-chart/src/main/java/com/fr/van/chart/designer/style/label/VanChartPieCategoryLabelDetailPane.java
  2. 6
      designer-chart/src/main/java/com/fr/van/chart/designer/style/label/VanChartPlotLabelDetailPane.java

6
designer-chart/src/main/java/com/fr/van/chart/designer/style/label/VanChartPieCategoryLabelDetailPane.java

@ -58,11 +58,7 @@ public class VanChartPieCategoryLabelDetailPane extends VanChartPlotLabelDetailP
} }
protected JPanel createLabelBorderPane() { protected JPanel createBorderAndBackgroundPane() {
return null;
}
protected JPanel createLabelBackgroundPane() {
return null; return null;
} }
} }

6
designer-chart/src/main/java/com/fr/van/chart/designer/style/label/VanChartPlotLabelDetailPane.java

@ -150,7 +150,7 @@ public class VanChartPlotLabelDetailPane extends BasicPane {
}; };
} }
private JPanel createBorderAndBackgroundPane() { protected JPanel createBorderAndBackgroundPane() {
JPanel jPanel = new JPanel(); JPanel jPanel = new JPanel();
jPanel.setLayout(new BorderLayout(0, 5)); jPanel.setLayout(new BorderLayout(0, 5));
jPanel.add(createLabelBorderPane(), BorderLayout.NORTH); jPanel.add(createLabelBorderPane(), BorderLayout.NORTH);
@ -158,14 +158,14 @@ public class VanChartPlotLabelDetailPane extends BasicPane {
return jPanel; return jPanel;
} }
protected JPanel createLabelBorderPane() { private JPanel createLabelBorderPane() {
borderPane = new VanChartBorderWithShapePane(); borderPane = new VanChartBorderWithShapePane();
borderPaneWithTitle = TableLayout4VanChartHelper.createExpandablePaneWithTitle(Toolkit.i18nText("Fine-Design_Chart_Border"), borderPane); borderPaneWithTitle = TableLayout4VanChartHelper.createExpandablePaneWithTitle(Toolkit.i18nText("Fine-Design_Chart_Border"), borderPane);
return borderPaneWithTitle; return borderPaneWithTitle;
} }
protected JPanel createLabelBackgroundPane() { private JPanel createLabelBackgroundPane() {
backgroundPane = new VanChartBackgroundWithOutImagePane() { backgroundPane = new VanChartBackgroundWithOutImagePane() {
protected Component[][] getPaneComponents() { protected Component[][] getPaneComponents() {

Loading…
Cancel
Save