|
|
@ -11,7 +11,7 @@ import com.fr.chart.chartattr.ChartIcon; |
|
|
|
import com.fr.chart.chartattr.MapPlot; |
|
|
|
import com.fr.chart.chartattr.MapPlot; |
|
|
|
import com.fr.chart.chartattr.Plot; |
|
|
|
import com.fr.chart.chartattr.Plot; |
|
|
|
import com.fr.chart.charttypes.ChartTypeManager; |
|
|
|
import com.fr.chart.charttypes.ChartTypeManager; |
|
|
|
import com.fr.chartx.attr.XChart; |
|
|
|
import com.fr.chartx.attr.ChartProvider; |
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
@ -43,7 +43,7 @@ public class ChartTypePane extends ChartCommonWizardPane { |
|
|
|
{ |
|
|
|
{ |
|
|
|
charts4Icon = new Chart[this.typeName.length][]; |
|
|
|
charts4Icon = new Chart[this.typeName.length][]; |
|
|
|
for (int i = 0; i < this.typeName.length; i++) { |
|
|
|
for (int i = 0; i < this.typeName.length; i++) { |
|
|
|
XChart[] rowCharts = ChartTypeManager.getInstanceWithCheck().getChartTypes(this.typeName[i].getPlotID()); |
|
|
|
ChartProvider[] rowCharts = ChartTypeManager.getInstanceWithCheck().getChartTypes(this.typeName[i].getPlotID()); |
|
|
|
int rowChartsCount = rowCharts.length; |
|
|
|
int rowChartsCount = rowCharts.length; |
|
|
|
charts4Icon[i] = new Chart[rowChartsCount]; |
|
|
|
charts4Icon[i] = new Chart[rowChartsCount]; |
|
|
|
for (int j = 0; j < rowChartsCount; j++) { |
|
|
|
for (int j = 0; j < rowChartsCount; j++) { |
|
|
@ -147,7 +147,7 @@ public class ChartTypePane extends ChartCommonWizardPane { |
|
|
|
int subIndex = 0; |
|
|
|
int subIndex = 0; |
|
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < typeName.length; i++) { |
|
|
|
for (int i = 0; i < typeName.length; i++) { |
|
|
|
XChart[] charts = ChartTypeManager.getInstanceWithCheck().getChartTypes(typeName[i].getPlotID()); |
|
|
|
ChartProvider[] charts = ChartTypeManager.getInstanceWithCheck().getChartTypes(typeName[i].getPlotID()); |
|
|
|
for (int j = 0; j < charts.length; j++) { |
|
|
|
for (int j = 0; j < charts.length; j++) { |
|
|
|
if (((Chart) charts[j]).getPlot().match4GUI(plot)) { |
|
|
|
if (((Chart) charts[j]).getPlot().match4GUI(plot)) { |
|
|
|
mainIndex = i; |
|
|
|
mainIndex = i; |
|
|
|