From b8477e1fa54c721a78334bca1ce9e02d44b11212 Mon Sep 17 00:00:00 2001 From: zheng Date: Wed, 4 Jul 2018 13:48:14 +0800 Subject: [PATCH] =?UTF-8?q?CHART-2525=20=E8=AF=8D=E4=BA=91=20=E5=BD=A2?= =?UTF-8?q?=E7=8A=B6=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wordcloud/designer/style/VanChartWordCloudSeriesPane.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/designer-chart/src/com/fr/van/chart/wordcloud/designer/style/VanChartWordCloudSeriesPane.java b/designer-chart/src/com/fr/van/chart/wordcloud/designer/style/VanChartWordCloudSeriesPane.java index dfd7b0cbd3..94b8b7b1dd 100644 --- a/designer-chart/src/com/fr/van/chart/wordcloud/designer/style/VanChartWordCloudSeriesPane.java +++ b/designer-chart/src/com/fr/van/chart/wordcloud/designer/style/VanChartWordCloudSeriesPane.java @@ -2,6 +2,7 @@ package com.fr.van.chart.wordcloud.designer.style; import com.fr.base.Utils; import com.fr.base.background.ImageBackground; +import com.fr.base.background.ImageFileBackground; import com.fr.chart.chartattr.Plot; import com.fr.design.gui.ibutton.UIButtonGroup; import com.fr.design.gui.icombobox.UIComboBox; @@ -153,7 +154,7 @@ public class VanChartWordCloudSeriesPane extends VanChartAbstractPlotSeriesPane CloudShapeType type = (CloudShapeType)cloudShape.getSelectedItem(); String path = type.getImageUrl(); if(path != null) { - ImageBackground imageBackground = new ImageBackground(IOUtils.readImage(path)); + ImageFileBackground imageBackground = new ImageFileBackground(IOUtils.readImage(path)); imageBackgroundQuickPane.populateBean(imageBackground); } else { imageBackgroundQuickPane.populateBean(new ImageBackground());