Browse Source

REPORT-53592 扩展图表创建共享组件npe问题

feature/10.0
kuangshuai 4 years ago
parent
commit
3af6222753
  1. 4
      designer-realize/src/main/java/com/fr/design/share/effect/EffectItemGroup.java

4
designer-realize/src/main/java/com/fr/design/share/effect/EffectItemGroup.java

@ -113,7 +113,7 @@ public class EffectItemGroup {
Chart chart= (Chart) chartCollection.getChart(index, ChartProvider.class);
Plot plot = chart.getPlot();
if (plot == null) {
break;
continue;
}
SourceNode chartSourceNode = SourceNodeUtils.createSourceNode(plot, chartCollection.getChartName(index), cellSourceNode);
initChartPlot(plot, chartSourceNode, false);
@ -131,7 +131,7 @@ public class EffectItemGroup {
Chart chart= (Chart) chartCollection.getChart(index, ChartProvider.class);
Plot plot = chart.getPlot();
if (plot == null) {
break;
continue;
}
SourceNode plotSourceNode = SourceNodeUtils.createSourceNode(plot, chartCollection.getChartName(index), null);
initChartPlot(plot, plotSourceNode, false);

Loading…
Cancel
Save