|
|
@ -69,8 +69,7 @@ public class VanChartColumnSeriesPane extends VanChartAbstractPlotSeriesPane { |
|
|
|
private JPanel createSeriesStylePane(double[] row, double[] col) { |
|
|
|
private JPanel createSeriesStylePane(double[] row, double[] col) { |
|
|
|
isFixedWidth = new UIButtonGroup<Integer>(new String[]{Inter.getLocText("Plugin-ChartF_YES"), Inter.getLocText("Plugin-ChartF_NO")}); |
|
|
|
isFixedWidth = new UIButtonGroup<Integer>(new String[]{Inter.getLocText("Plugin-ChartF_YES"), Inter.getLocText("Plugin-ChartF_NO")}); |
|
|
|
columnWidth = new UISpinner(0,1000,1,0); |
|
|
|
columnWidth = new UISpinner(0,1000,1,0); |
|
|
|
columnWidth.setPreferredSize(new Dimension((int)this.getPreferredSize().getWidth(), 50)); |
|
|
|
columnWidth.setBorder(BorderFactory.createEmptyBorder(0, (int)TableLayout4VanChartHelper.DESCRIPTION_AREA_WIDTH + TableLayout4VanChartHelper.COMPONENT_INTERVAL,0,0)); |
|
|
|
columnWidth.setBorder(BorderFactory.createEmptyBorder(10, (int)TableLayout4VanChartHelper.DESCRIPTION_AREA_WIDTH + TableLayout4VanChartHelper.COMPONENT_INTERVAL,0,0)); |
|
|
|
|
|
|
|
seriesGap = new UINumberDragPane(-100, 100); |
|
|
|
seriesGap = new UINumberDragPane(-100, 100); |
|
|
|
categoryGap = new UINumberDragPane(0, 100); |
|
|
|
categoryGap = new UINumberDragPane(0, 100); |
|
|
|
isFillWithImage = new UIButtonGroup<Integer>(new String[]{Inter.getLocText("Plugin-ChartF_YES"), Inter.getLocText("Plugin-ChartF_NO")}); |
|
|
|
isFillWithImage = new UIButtonGroup<Integer>(new String[]{Inter.getLocText("Plugin-ChartF_YES"), Inter.getLocText("Plugin-ChartF_NO")}); |
|
|
@ -78,7 +77,9 @@ public class VanChartColumnSeriesPane extends VanChartAbstractPlotSeriesPane { |
|
|
|
imagePane.setBorder(BorderFactory.createEmptyBorder(0,(int)TableLayout4VanChartHelper.DESCRIPTION_AREA_WIDTH + TableLayout4VanChartHelper.COMPONENT_INTERVAL,0,0)); |
|
|
|
imagePane.setBorder(BorderFactory.createEmptyBorder(0,(int)TableLayout4VanChartHelper.DESCRIPTION_AREA_WIDTH + TableLayout4VanChartHelper.COMPONENT_INTERVAL,0,0)); |
|
|
|
|
|
|
|
|
|
|
|
JPanel panel1 = new JPanel(new BorderLayout()); |
|
|
|
JPanel panel1 = new JPanel(new BorderLayout()); |
|
|
|
panel1.add(TableLayout4VanChartHelper.createGapTableLayoutPane(Inter.getLocText("Plugin-ChartF_Fixed_Column_Width"),isFixedWidth), BorderLayout.NORTH); |
|
|
|
JPanel isFixedWidthPane = TableLayout4VanChartHelper.createGapTableLayoutPane(Inter.getLocText("Plugin-ChartF_Fixed_Column_Width"),isFixedWidth); |
|
|
|
|
|
|
|
isFixedWidthPane.setBorder(BorderFactory.createEmptyBorder(0,0,6,0)); |
|
|
|
|
|
|
|
panel1.add(isFixedWidthPane, BorderLayout.NORTH); |
|
|
|
panel1.add(columnWidth, BorderLayout.CENTER); |
|
|
|
panel1.add(columnWidth, BorderLayout.CENTER); |
|
|
|
|
|
|
|
|
|
|
|
Component[][] components2 = new Component[][]{ |
|
|
|
Component[][] components2 = new Component[][]{ |
|
|
|