Browse Source

Merge branch 'feature/10.0' of https://cloud.finedevelop.com/scm/~wim.zhai/Xdesign into feature/10.0

research/11.0
Wim.Zhai 5 years ago
parent
commit
0ff7bb3058
  1. 4
      designer-chart/src/main/java/com/fr/design/chartx/data/drillMap/EachLayerDataDefinitionPane.java

4
designer-chart/src/main/java/com/fr/design/chartx/data/drillMap/EachLayerDataDefinitionPane.java

@ -83,11 +83,11 @@ public class EachLayerDataDefinitionPane extends MultiTabPane<DrillMapChartDataD
public void populateBean(DrillMapChartDataDefinition drillMapChartDataDefinition) { public void populateBean(DrillMapChartDataDefinition drillMapChartDataDefinition) {
List<AbstractDataDefinition> eachLayerDataDefinitionList = drillMapChartDataDefinition.getEachLayerDataDefinitionList(); List<AbstractDataDefinition> eachLayerDataDefinitionList = drillMapChartDataDefinition.getEachLayerDataDefinitionList();
if (eachLayerDataDefinitionList == null || eachLayerDataDefinitionList.size() == 0) { if (eachLayerDataDefinitionList == null) {
return; return;
} }
for (int i = 0, len = paneList.size(); i < len; i++) { for (int i = 0, len = Math.min(paneList.size(), eachLayerDataDefinitionList.size()); i < len; i++) {
BasicPane basicPane = paneList.get(i); BasicPane basicPane = paneList.get(i);
if (basicPane instanceof SingleDataPane) { if (basicPane instanceof SingleDataPane) {
((SingleDataPane) basicPane).populateBean(eachLayerDataDefinitionList.get(i)); ((SingleDataPane) basicPane).populateBean(eachLayerDataDefinitionList.get(i));

Loading…
Cancel
Save