Browse Source

异步生成模型数据

master
Fangjie Hu 8 years ago
parent
commit
0af416d3cd
  1. 3
      designer_chart/src/com/fr/design/chart/ChartTypePane.java

3
designer_chart/src/com/fr/design/chart/ChartTypePane.java

@ -35,6 +35,9 @@ public class ChartTypePane extends ChartCommonWizardPane {
charts4Icon[i] = new Chart[rowChartsCount]; charts4Icon[i] = new Chart[rowChartsCount];
for (int j = 0; j < rowChartsCount; j++) { for (int j = 0; j < rowChartsCount; j++) {
try { try {
//此时,为图片生成模型数据
rowCharts[j].createSlotImage();
//获取图片模型
charts4Icon[i][j] = (Chart) rowCharts[j].clone(); charts4Icon[i][j] = (Chart) rowCharts[j].clone();
charts4Icon[i][j].setTitle(null); charts4Icon[i][j].setTitle(null);
if(charts4Icon[i][j].getPlot() != null){ if(charts4Icon[i][j].getPlot() != null){

Loading…
Cancel
Save