|
|
@ -31,6 +31,8 @@ public class VanChartCustomStackAndAxisConditionPane extends BasicBeanPane<Condi |
|
|
|
protected UIButtonGroup<Integer> isStacked; |
|
|
|
protected UIButtonGroup<Integer> isStacked; |
|
|
|
protected UIButtonGroup<Integer> isPercentStacked; |
|
|
|
protected UIButtonGroup<Integer> isPercentStacked; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private ConditionAttr conditionAttr; |
|
|
|
|
|
|
|
|
|
|
|
private LiteConditionPane liteConditionPane; |
|
|
|
private LiteConditionPane liteConditionPane; |
|
|
|
|
|
|
|
|
|
|
|
public VanChartCustomStackAndAxisConditionPane() { |
|
|
|
public VanChartCustomStackAndAxisConditionPane() { |
|
|
@ -94,11 +96,10 @@ public class VanChartCustomStackAndAxisConditionPane extends BasicBeanPane<Condi |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void populateBean(ConditionAttr conditionAttr) { |
|
|
|
public void populateBean(ConditionAttr conditionAttr) { |
|
|
|
|
|
|
|
this.conditionAttr = conditionAttr; |
|
|
|
AttrSeriesStackAndAxis seriesStackAndAxis = (AttrSeriesStackAndAxis) conditionAttr.getExisted(AttrSeriesStackAndAxis.class); |
|
|
|
AttrSeriesStackAndAxis seriesStackAndAxis = (AttrSeriesStackAndAxis) conditionAttr.getExisted(AttrSeriesStackAndAxis.class); |
|
|
|
if (XAxis == null || YAxis == null) { |
|
|
|
XAxis = new UIButtonGroup<Integer>(seriesStackAndAxis.getXAxisNamesArray()); |
|
|
|
XAxis = new UIButtonGroup<Integer>(seriesStackAndAxis.getXAxisNamesArray()); |
|
|
|
YAxis = new UIButtonGroup<Integer>(seriesStackAndAxis.getYAxisNameArray()); |
|
|
|
YAxis = new UIButtonGroup<Integer>(seriesStackAndAxis.getYAxisNameArray()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
doLayoutPane(); |
|
|
|
doLayoutPane(); |
|
|
|
XAxis.setSelectedIndex(seriesStackAndAxis.getXAxisIndex()); |
|
|
|
XAxis.setSelectedIndex(seriesStackAndAxis.getXAxisIndex()); |
|
|
@ -125,7 +126,6 @@ public class VanChartCustomStackAndAxisConditionPane extends BasicBeanPane<Condi |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public ConditionAttr updateBean() { |
|
|
|
public ConditionAttr updateBean() { |
|
|
|
ConditionAttr conditionAttr = new ConditionAttr(); |
|
|
|
|
|
|
|
AttrSeriesStackAndAxis seriesStackAndAxis = new AttrSeriesStackAndAxis(); |
|
|
|
AttrSeriesStackAndAxis seriesStackAndAxis = new AttrSeriesStackAndAxis(); |
|
|
|
seriesStackAndAxis.setXAxisIndex(XAxis.getSelectedIndex()); |
|
|
|
seriesStackAndAxis.setXAxisIndex(XAxis.getSelectedIndex()); |
|
|
|
seriesStackAndAxis.setYAxisIndex(YAxis.getSelectedIndex()); |
|
|
|
seriesStackAndAxis.setYAxisIndex(YAxis.getSelectedIndex()); |
|
|
|