Browse Source

Pull request #1649: CHART-13814 标记点样式调整

Merge in DESIGN/design from ~BJORN/design:release/10.0 to release/10.0

* commit 'b6052c4af2ea525d8f530706362c61869fed114d':
  CHART-13814  标记点样式调整
feature/big-screen
Bjorn 5 years ago
parent
commit
5f53a2c1fb
  1. 10
      designer-chart/src/main/java/com/fr/van/chart/designer/component/marker/VanChartCommonMarkerPane.java

10
designer-chart/src/main/java/com/fr/van/chart/designer/component/marker/VanChartCommonMarkerPane.java

@ -2,7 +2,6 @@ package com.fr.van.chart.designer.component.marker;
import com.fr.chart.chartglyph.Marker;
import com.fr.design.beans.BasicBeanPane;
import com.fr.design.constants.LayoutConstants;
import com.fr.design.gui.ilable.UILabel;
import com.fr.design.gui.ispinner.UISpinner;
import com.fr.design.gui.xcombox.MarkerComboBox;
@ -57,6 +56,7 @@ public class VanChartCommonMarkerPane extends BasicBeanPane<VanChartAttrMarker>
}
private static Marker[] normalMarkersWithAuto = null;
protected static Marker[] getNormalMarkersWithAuto() {
if (normalMarkersWithAuto == null) {
normalMarkersWithAuto = new Marker[NORMAL_TYPES.length + 1];
@ -130,17 +130,17 @@ public class VanChartCommonMarkerPane extends BasicBeanPane<VanChartAttrMarker>
double p = TableLayout.PREFERRED;
double f = TableLayout.FILL;
double e = TableLayout4VanChartHelper.EDIT_AREA_WIDTH;
double e = getColumnSize()[1];
double[] columnSize = {f, e};
double[] rowSize = {p, p, p};
return TableLayoutHelper.createGapTableLayoutPane(getPaneComponents(), rowSize, columnSize, 0, LayoutConstants.VGAP_MEDIUM);
return TableLayoutHelper.createTableLayoutPane(getPaneComponents(), rowSize, columnSize);
}
protected Component[][] getPaneComponents() {
return new Component[][]{
new Component[]{null, null},
new Component[]{null, typeComboBox},
new Component[]{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Chart_Fill_Color")), typeComboBox},
new Component[]{null, centerPane},
};
}
@ -175,7 +175,7 @@ public class VanChartCommonMarkerPane extends BasicBeanPane<VanChartAttrMarker>
protected Component[][] getMarkerConfigComponent() {
return new Component[][]{
new Component[]{new UILabel(Toolkit.i18nText("Fine-Design_Chart_Fill_Color")), markerFillColor},
new Component[]{markerFillColor, null},
new Component[]{new UILabel(Toolkit.i18nText("Fine-Design_Chart_Radius")), radius}
};
}

Loading…
Cancel
Save