|
|
|
@ -2,15 +2,16 @@ package com.fr.van.chart.multilayer;
|
|
|
|
|
|
|
|
|
|
import com.fr.chart.chartattr.Plot; |
|
|
|
|
import com.fr.design.beans.BasicBeanPane; |
|
|
|
|
import com.fr.design.chartx.AbstractVanSingleDataPane; |
|
|
|
|
import com.fr.design.chartx.fields.diff.MultiPieCellDataFieldsPane; |
|
|
|
|
import com.fr.design.chartx.fields.diff.MultiPieDataSetFieldsPane; |
|
|
|
|
import com.fr.design.chartx.single.SingleDataPane; |
|
|
|
|
import com.fr.design.condition.ConditionAttributesPane; |
|
|
|
|
import com.fr.design.gui.frpane.AttributeChangeListener; |
|
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
|
import com.fr.design.mainframe.chart.gui.ChartDataPane; |
|
|
|
|
import com.fr.design.mainframe.chart.gui.ChartStylePane; |
|
|
|
|
import com.fr.design.mainframe.chart.gui.data.report.AbstractReportDataContentPane; |
|
|
|
|
import com.fr.design.mainframe.chart.gui.data.table.AbstractTableDataContentPane; |
|
|
|
|
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane; |
|
|
|
|
import com.fr.van.chart.multilayer.data.MultiPiePlotReportDataContentPane; |
|
|
|
|
import com.fr.van.chart.multilayer.data.MultiPiePlotTableDataContentPane; |
|
|
|
|
import com.fr.van.chart.multilayer.other.VanChartMultiPieConditionPane; |
|
|
|
|
import com.fr.van.chart.multilayer.style.VanChartMultiPieSeriesPane; |
|
|
|
|
import com.fr.van.chart.vanchart.AbstractIndependentVanChartUI; |
|
|
|
@ -42,24 +43,14 @@ public class MultiPieIndependentVanChartInterface extends AbstractIndependentVan
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public AbstractTableDataContentPane getTableDataSourcePane(Plot plot, ChartDataPane parent) { |
|
|
|
|
return new MultiPiePlotTableDataContentPane(parent); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public ChartDataPane getChartDataPane(AttributeChangeListener listener) { |
|
|
|
|
return new AbstractVanSingleDataPane(listener) { |
|
|
|
|
@Override |
|
|
|
|
public AbstractReportDataContentPane getReportDataSourcePane(Plot plot, ChartDataPane parent) { |
|
|
|
|
return new MultiPiePlotReportDataContentPane(parent); |
|
|
|
|
protected SingleDataPane createSingleDataPane() { |
|
|
|
|
return new SingleDataPane(new MultiPieDataSetFieldsPane(), new MultiPieCellDataFieldsPane()); |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// @Override
|
|
|
|
|
// public ChartDataPane getChartDataPane(AttributeChangeListener listener) {
|
|
|
|
|
// return new AbstractDataPane(listener) {
|
|
|
|
|
// @Override
|
|
|
|
|
// protected SingleDataPane createSingleDataPane() {
|
|
|
|
|
// return new SingleDataPane(new MultiPieDataSetFieldsPane(), new MultiPieCellDataFieldsPane());
|
|
|
|
|
// }
|
|
|
|
|
// };
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
public BasicBeanPane<Plot> getPlotSeriesPane(ChartStylePane parent, Plot plot){ |
|
|
|
|
return new VanChartMultiPieSeriesPane(parent, plot); |
|
|
|
|