|
|
@ -111,8 +111,11 @@ public class EffectItemGroup { |
|
|
|
ChartCollection chartCollection = (ChartCollection) value; |
|
|
|
ChartCollection chartCollection = (ChartCollection) value; |
|
|
|
for (int index = 0; index < chartCollection.getChartCount(); index++) { |
|
|
|
for (int index = 0; index < chartCollection.getChartCount(); index++) { |
|
|
|
Chart chart= (Chart) chartCollection.getChart(index, ChartProvider.class); |
|
|
|
Chart chart= (Chart) chartCollection.getChart(index, ChartProvider.class); |
|
|
|
SourceNode chartSourceNode = SourceNodeUtils.createSourceNode(chart.getPlot(), chartCollection.getChartName(index), cellSourceNode); |
|
|
|
|
|
|
|
Plot plot = chart.getPlot(); |
|
|
|
Plot plot = chart.getPlot(); |
|
|
|
|
|
|
|
if (plot == null) { |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
SourceNode chartSourceNode = SourceNodeUtils.createSourceNode(plot, chartCollection.getChartName(index), cellSourceNode); |
|
|
|
initChartPlot(plot, chartSourceNode, false); |
|
|
|
initChartPlot(plot, chartSourceNode, false); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -126,8 +129,11 @@ public class EffectItemGroup { |
|
|
|
ChartCollection chartCollection = (ChartCollection) editor.getChartCollection(); |
|
|
|
ChartCollection chartCollection = (ChartCollection) editor.getChartCollection(); |
|
|
|
for (int index = 0; index < chartCollection.getChartCount(); index++) { |
|
|
|
for (int index = 0; index < chartCollection.getChartCount(); index++) { |
|
|
|
Chart chart= (Chart) chartCollection.getChart(index, ChartProvider.class); |
|
|
|
Chart chart= (Chart) chartCollection.getChart(index, ChartProvider.class); |
|
|
|
SourceNode plotSourceNode = SourceNodeUtils.createSourceNode(chart.getPlot(), chartCollection.getChartName(index), null); |
|
|
|
|
|
|
|
Plot plot = chart.getPlot(); |
|
|
|
Plot plot = chart.getPlot(); |
|
|
|
|
|
|
|
if (plot == null) { |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
SourceNode plotSourceNode = SourceNodeUtils.createSourceNode(plot, chartCollection.getChartName(index), null); |
|
|
|
initChartPlot(plot, plotSourceNode, false); |
|
|
|
initChartPlot(plot, plotSourceNode, false); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|