diff --git a/designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java b/designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java index a4947058d3..4f93db43c7 100644 --- a/designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java +++ b/designer_chart/src/com/fr/design/ChartTypeInterfaceManager.java @@ -159,6 +159,11 @@ public class ChartTypeInterfaceManager extends XMLFileManager implements ExtraCh return chartTypeInterfaces.get(plot.getPlotID()).getPlotConditionPane(plot); } + //大数据需要通过chart判断 + public ConditionAttributesPane getPlotConditionPane(Chart chart) { + return chartTypeInterfaces.get(chart.getPlot().getPlotID()).getPlotConditionPane(chart); + } + public BasicBeanPane getPlotSeriesPane(ChartStylePane parent, Plot plot) { return chartTypeInterfaces.get(plot.getPlotID()).getPlotSeriesPane(parent, plot); } diff --git a/designer_chart/src/com/fr/design/chart/fun/IndependentChartUIProvider.java b/designer_chart/src/com/fr/design/chart/fun/IndependentChartUIProvider.java index 7afcaa71fe..6ef877aaf0 100644 --- a/designer_chart/src/com/fr/design/chart/fun/IndependentChartUIProvider.java +++ b/designer_chart/src/com/fr/design/chart/fun/IndependentChartUIProvider.java @@ -1,5 +1,6 @@ package com.fr.design.chart.fun; +import com.fr.chart.chartattr.Chart; import com.fr.chart.chartattr.Plot; import com.fr.design.beans.BasicBeanPane; import com.fr.design.condition.ConditionAttributesPane; @@ -53,6 +54,13 @@ public interface IndependentChartUIProvider extends Level { */ ConditionAttributesPane getPlotConditionPane(Plot plot); + /** + * 条件属性界面 + * + * @return 条件属性界面 + */ + ConditionAttributesPane getPlotConditionPane(Chart chart); + /** * 系列界面 * diff --git a/designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartUIWithAPILevel.java b/designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartUIWithAPILevel.java index e0e5e8f7d2..1ec8a31384 100644 --- a/designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartUIWithAPILevel.java +++ b/designer_chart/src/com/fr/design/chart/fun/impl/AbstractIndependentChartUIWithAPILevel.java @@ -1,5 +1,6 @@ package com.fr.design.chart.fun.impl; +import com.fr.chart.chartattr.Chart; import com.fr.chart.chartattr.Plot; import com.fr.design.beans.BasicBeanPane; import com.fr.design.chart.fun.IndependentChartUIProvider; @@ -46,4 +47,8 @@ public abstract class AbstractIndependentChartUIWithAPILevel implements Independ public ConditionAttributesPane getPlotConditionPane(Plot plot){ return new DataSeriesConditionPane(); } + + public ConditionAttributesPane getPlotConditionPane(Chart chart){ + return null; + } }