|
|
|
@ -22,7 +22,7 @@ public class ScatterDataSetFieldsPane extends AbstractDataSetFieldsPane<BubbleCo
|
|
|
|
|
private UIComboBoxWithNone series; |
|
|
|
|
private UIComboBox xField; |
|
|
|
|
private UIComboBox yField; |
|
|
|
|
private UIComboBoxWithNone value; |
|
|
|
|
private UIComboBoxWithNone size; |
|
|
|
|
|
|
|
|
|
//todo 数据筛选
|
|
|
|
|
private AbstractSingleFilterPane filterPane; |
|
|
|
@ -34,7 +34,7 @@ public class ScatterDataSetFieldsPane extends AbstractDataSetFieldsPane<BubbleCo
|
|
|
|
|
series = new UIComboBoxWithNone(); |
|
|
|
|
xField = new UIComboBox(); |
|
|
|
|
yField = new UIComboBox(); |
|
|
|
|
value = new UIComboBoxWithNone(); |
|
|
|
|
size = new UIComboBoxWithNone(); |
|
|
|
|
|
|
|
|
|
filterPane = new AbstractSingleFilterPane() { |
|
|
|
|
@Override |
|
|
|
@ -59,7 +59,7 @@ public class ScatterDataSetFieldsPane extends AbstractDataSetFieldsPane<BubbleCo
|
|
|
|
|
@Override |
|
|
|
|
protected UIComboBox[] filedComboBoxes() { |
|
|
|
|
return new UIComboBox[]{ |
|
|
|
|
series, xField, yField, value |
|
|
|
|
series, xField, yField, size |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -80,7 +80,8 @@ public class ScatterDataSetFieldsPane extends AbstractDataSetFieldsPane<BubbleCo
|
|
|
|
|
updateField(series, field.getSeriesName()); |
|
|
|
|
updateField(xField, field.getXField()); |
|
|
|
|
updateField(yField, field.getYField()); |
|
|
|
|
updateField(value, field.getValueField()); |
|
|
|
|
updateField(size, field.getSizeField()); |
|
|
|
|
filterPane.updateBean(field.getSeriesName().getFilterProperties()); |
|
|
|
|
return collection; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -90,6 +91,7 @@ public class ScatterDataSetFieldsPane extends AbstractDataSetFieldsPane<BubbleCo
|
|
|
|
|
populateField(series, field.getSeriesName()); |
|
|
|
|
populateField(xField, field.getXField()); |
|
|
|
|
populateField(yField, field.getYField()); |
|
|
|
|
populateField(value, field.getValueField()); |
|
|
|
|
populateField(size, field.getSizeField()); |
|
|
|
|
filterPane.populateBean(field.getSeriesName().getFilterProperties()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|