From 0104939e4fb8f7922c12c45cb0b5a7472cbcd3c2 Mon Sep 17 00:00:00 2001 From: mengao <283296419@qq.com> Date: Fri, 20 Oct 2017 17:16:48 +0800 Subject: [PATCH] =?UTF-8?q?CHART-1614=20=E5=9C=A8chartModule=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E6=97=B6=EF=BC=8C=E5=B0=B1=E7=AB=8B=E5=88=BB=E5=90=AF?= =?UTF-8?q?=E5=8A=A8phantomjs=E6=9C=8D=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fr/design/ChartTypeInterfaceManager.java | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java b/designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java index fa9d1dba21..d11733e0c9 100644 --- a/designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java +++ b/designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java @@ -1,6 +1,5 @@ package com.fr.design; -import com.fr.base.FRContext; import com.fr.chart.base.ChartConstants; import com.fr.chart.base.ChartInternationalNameContentBean; import com.fr.chart.chartattr.Chart; @@ -70,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; @@ -152,21 +150,16 @@ public class ChartTypeInterfaceManager implements ExtraChartDesignClassManagerPr allCharts[i] = rowChart; } - + //异步加载图片 new Thread(new Runnable() { - + @Override public void run() { - try { - VanChartPhantomService.startPhantomService(); - } catch (Exception e){ - FRContext.getLogger().info("phantomjs server startup failure:" + e.getMessage()); - } initAllChartsDemoImage(allCharts); } }).start(); - + return child; }