From b484ebe6a71ea1c548066dd3a180886b244a7ec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E5=B2=B3?= <445798420@qq.com> Date: Mon, 16 Sep 2019 17:50:17 +0800 Subject: [PATCH] =?UTF-8?q?CHART-10233=20=E9=83=A8=E5=88=86=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=AE=9E=E7=8E=B0=E6=94=B9=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fields/AbstractCellDataFieldsPane.java | 25 +++++++++++++------ .../fields/AbstractDataSetFieldsPane.java | 7 +++--- ...ractCellDataFieldsWithSeriesValuePane.java | 17 ++++++++++--- ...tractDataSetFieldsWithSeriesValuePane.java | 19 +++++++++++--- .../design/chartx/impl/AbstractDataPane.java | 3 +-- .../mainframe/MiddleChartPropertyPane.java | 2 +- 6 files changed, 52 insertions(+), 21 deletions(-) diff --git a/designer-chart/src/main/java/com/fr/design/chartx/fields/AbstractCellDataFieldsPane.java b/designer-chart/src/main/java/com/fr/design/chartx/fields/AbstractCellDataFieldsPane.java index 6b6408d93..b302ec863 100644 --- a/designer-chart/src/main/java/com/fr/design/chartx/fields/AbstractCellDataFieldsPane.java +++ b/designer-chart/src/main/java/com/fr/design/chartx/fields/AbstractCellDataFieldsPane.java @@ -13,9 +13,9 @@ import com.fr.stable.StringUtils; import javax.swing.BorderFactory; import javax.swing.JPanel; import javax.swing.SwingConstants; +import java.util.Arrays; import java.awt.BorderLayout; import java.awt.Component; -import java.util.Arrays; /** * Created by shine on 2019/5/16. @@ -31,9 +31,21 @@ public abstract class AbstractCellDataFieldsPane ePane) { - addChartEditPane(collection.getSelectedChart().getPlot().getPlotID()); + addChartEditPane(collection.getSelectedChartProvider().getID()); setSupportCellData(true); this.container.setEPane(ePane); chartEditPane.populate(collection);