Browse Source

CHART-11424 fix 数据集面板-数据筛选

research/11.0
Wim.Zhai 5 years ago
parent
commit
9060dc508e
  1. 2
      designer-chart/src/main/java/com/fr/design/chartx/fields/diff/FunnelDataSetFieldsPane.java
  2. 2
      designer-chart/src/main/java/com/fr/design/chartx/fields/diff/GaugeDataSetFieldsPane.java
  3. 3
      designer-chart/src/main/java/com/fr/design/chartx/fields/diff/ScatterDataSetFieldsPane.java

2
designer-chart/src/main/java/com/fr/design/chartx/fields/diff/FunnelDataSetFieldsPane.java

@ -57,7 +57,7 @@ public class FunnelDataSetFieldsPane extends AbstractDataSetFieldsWithSeriesValu
ColumnFieldCollectionWithSeriesValue collection = new ColumnFieldCollectionWithSeriesValue(); ColumnFieldCollectionWithSeriesValue collection = new ColumnFieldCollectionWithSeriesValue();
updateSeriesValuePane(collection); updateSeriesValuePane(collection);
SeriesValueCorrelationDefinition seriesValueCorrelationDefinition = collection.getSeriesValueCorrelationDefinition(); SeriesValueCorrelationDefinition seriesValueCorrelationDefinition = collection.getSeriesValueCorrelationDefinition();
filterPane.updateBean(seriesValueCorrelationDefinition.getFilterProperties()); seriesValueCorrelationDefinition.setFilterProperties(filterPane.updateBean());
return collection; return collection;
} }

2
designer-chart/src/main/java/com/fr/design/chartx/fields/diff/GaugeDataSetFieldsPane.java

@ -69,7 +69,7 @@ public class GaugeDataSetFieldsPane extends AbstractDataSetFieldsPane<GaugeColum
GaugeColumnFieldCollection gauge = new GaugeColumnFieldCollection(); GaugeColumnFieldCollection gauge = new GaugeColumnFieldCollection();
updateField(category, gauge.getCategory()); updateField(category, gauge.getCategory());
updateField(value, gauge.getValue()); updateField(value, gauge.getValue());
filterPane.updateBean(gauge.getCategory().getFilterProperties()); gauge.getCategory().setFilterProperties(filterPane.updateBean());
return gauge; return gauge;
} }

3
designer-chart/src/main/java/com/fr/design/chartx/fields/diff/ScatterDataSetFieldsPane.java

@ -24,7 +24,6 @@ public class ScatterDataSetFieldsPane extends AbstractDataSetFieldsPane<BubbleCo
private UIComboBox yField; private UIComboBox yField;
private UIComboBoxWithNone size; private UIComboBoxWithNone size;
//todo 数据筛选
private AbstractSingleFilterPane filterPane; private AbstractSingleFilterPane filterPane;
@ -81,7 +80,7 @@ public class ScatterDataSetFieldsPane extends AbstractDataSetFieldsPane<BubbleCo
updateField(xField, field.getXField()); updateField(xField, field.getXField());
updateField(yField, field.getYField()); updateField(yField, field.getYField());
updateField(size, field.getSizeField()); updateField(size, field.getSizeField());
filterPane.updateBean(field.getSeriesName().getFilterProperties()); field.getSeriesName().setFilterProperties(filterPane.updateBean());
return collection; return collection;
} }

Loading…
Cancel
Save