|
|
@ -126,7 +126,7 @@ public class VanChartBaseAxisPane extends FurtherBasicBeanPane<VanChartAxis> { |
|
|
|
double[] column = {f, s}; |
|
|
|
double[] column = {f, s}; |
|
|
|
double[] rowSize = {p, p, p, p, p, p, p, p}; |
|
|
|
double[] rowSize = {p, p, p, p, p, p, p, p}; |
|
|
|
Component[][] components = new Component[][]{ |
|
|
|
Component[][] components = new Component[][]{ |
|
|
|
new Component[]{createTitlePane(new double[]{p, p, p, p, p, p}, columnSize, isXAxis), null}, |
|
|
|
new Component[]{createTitlePane(new double[]{p, p, p, p, p, p}, column, isXAxis), null}, |
|
|
|
new Component[]{createLabelPane(new double[]{p, p}, column), null}, |
|
|
|
new Component[]{createLabelPane(new double[]{p, p}, column), null}, |
|
|
|
new Component[]{createLineStylePane(new double[]{p, p, p, p, p}, columnSize), null}, |
|
|
|
new Component[]{createLineStylePane(new double[]{p, p, p, p, p}, columnSize), null}, |
|
|
|
new Component[]{createAxisPositionPane(new double[]{p, p, p}, columnSize, isXAxis), null}, |
|
|
|
new Component[]{createAxisPositionPane(new double[]{p, p, p}, columnSize, isXAxis), null}, |
|
|
@ -144,7 +144,7 @@ public class VanChartBaseAxisPane extends FurtherBasicBeanPane<VanChartAxis> { |
|
|
|
titleContent = new TinyFormulaPane(); |
|
|
|
titleContent = new TinyFormulaPane(); |
|
|
|
titleUseHtml = new UIToggleButton(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Chart_Html")); |
|
|
|
titleUseHtml = new UIToggleButton(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Chart_Html")); |
|
|
|
UIComponentUtils.setLineWrap(titleUseHtml); |
|
|
|
UIComponentUtils.setLineWrap(titleUseHtml); |
|
|
|
titleTextAttrPane = new ChartTextAttrPane(); |
|
|
|
titleTextAttrPane = getChartTextAttrPane(); |
|
|
|
titleTextRotation = new UINumberDragPane(-ROTATION_MAX, ROTATION_MAX); |
|
|
|
titleTextRotation = new UINumberDragPane(-ROTATION_MAX, ROTATION_MAX); |
|
|
|
if (isXAxis) { |
|
|
|
if (isXAxis) { |
|
|
|
titleTextRotation.populateBean(0.0); |
|
|
|
titleTextRotation.populateBean(0.0); |
|
|
@ -163,6 +163,7 @@ public class VanChartBaseAxisPane extends FurtherBasicBeanPane<VanChartAxis> { |
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|
}; |
|
|
|
titlePane = TableLayout4VanChartHelper.createGapTableLayoutPane(components, row, col); |
|
|
|
titlePane = TableLayout4VanChartHelper.createGapTableLayoutPane(components, row, col); |
|
|
|
|
|
|
|
titlePane.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 0)); |
|
|
|
|
|
|
|
|
|
|
|
JPanel showTitlePane = TableLayout4VanChartHelper.createGapTableLayoutPane(Toolkit.i18nText("Fine-Design_Chart_Axis_Title"), showTitle); |
|
|
|
JPanel showTitlePane = TableLayout4VanChartHelper.createGapTableLayoutPane(Toolkit.i18nText("Fine-Design_Chart_Axis_Title"), showTitle); |
|
|
|
showTitle.addActionListener(new ActionListener() { |
|
|
|
showTitle.addActionListener(new ActionListener() { |
|
|
|