Browse Source

Merge pull request #1377 in BA/design from ~MANGO/m_design:release/9.0 to release/9.0

* commit '0104939e4fb8f7922c12c45cb0b5a7472cbcd3c2':
  CHART-1614 在chartModule启动时,就立刻启动phantomjs服务
  CHART-1602 修改phantomjs启动失败,没有加载提示图片问题
master
superman 7 years ago
parent
commit
e44081428e
  1. 10
      designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java

10
designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java

@ -69,7 +69,6 @@ import com.fr.plugin.chart.map.MapIndependentVanChartInterface;
import com.fr.plugin.chart.map.VanChartMapPlot;
import com.fr.plugin.chart.multilayer.MultiPieIndependentVanChartInterface;
import com.fr.plugin.chart.multilayer.VanChartMultiPiePlot;
import com.fr.plugin.chart.phantom.VanChartPhantomService;
import com.fr.plugin.chart.pie.PieIndependentVanChartInterface;
import com.fr.plugin.chart.radar.RadarIndependentVanChartInterface;
import com.fr.plugin.chart.radar.VanChartRadarPlot;
@ -151,19 +150,16 @@ public class ChartTypeInterfaceManager implements ExtraChartDesignClassManagerPr
allCharts[i] = rowChart;
}
//异步加载图片
new Thread(new Runnable() {
@Override
public void run() {
VanChartPhantomService.startPhantomService();
initAllChartsDemoImage(allCharts);
}
}).start();
return child;
}

Loading…
Cancel
Save