|
|
@ -9,9 +9,11 @@ import com.fr.chart.chartglyph.ConditionCollection; |
|
|
|
import com.fr.chartx.data.AbstractDataDefinition; |
|
|
|
import com.fr.chartx.data.AbstractDataDefinition; |
|
|
|
import com.fr.chartx.data.ChartDataDefinitionProvider; |
|
|
|
import com.fr.chartx.data.ChartDataDefinitionProvider; |
|
|
|
import com.fr.chartx.data.CustomChartDataDefinition; |
|
|
|
import com.fr.chartx.data.CustomChartDataDefinition; |
|
|
|
|
|
|
|
import com.fr.design.ChartTypeInterfaceManager; |
|
|
|
import com.fr.design.layout.TableLayout; |
|
|
|
import com.fr.design.layout.TableLayout; |
|
|
|
import com.fr.design.layout.TableLayoutHelper; |
|
|
|
import com.fr.design.layout.TableLayoutHelper; |
|
|
|
import com.fr.design.mainframe.chart.gui.type.ChartImagePane; |
|
|
|
import com.fr.design.mainframe.chart.gui.type.ChartImagePane; |
|
|
|
|
|
|
|
import com.fr.design.mainframe.chart.mode.ChartEditContext; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.plugin.chart.attr.plot.VanChartPlot; |
|
|
|
import com.fr.plugin.chart.attr.plot.VanChartPlot; |
|
|
|
import com.fr.plugin.chart.base.VanChartAttrLine; |
|
|
|
import com.fr.plugin.chart.base.VanChartAttrLine; |
|
|
@ -28,12 +30,12 @@ import com.fr.van.chart.designer.type.AbstractVanChartTypePane; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.JPanel; |
|
|
|
import javax.swing.JPanel; |
|
|
|
import javax.swing.JSeparator; |
|
|
|
import javax.swing.JSeparator; |
|
|
|
import java.util.HashMap; |
|
|
|
|
|
|
|
import java.util.LinkedHashMap; |
|
|
|
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
import java.awt.CardLayout; |
|
|
|
import java.awt.CardLayout; |
|
|
|
import java.awt.Component; |
|
|
|
import java.awt.Component; |
|
|
|
import java.awt.Dimension; |
|
|
|
import java.awt.Dimension; |
|
|
|
|
|
|
|
import java.util.HashMap; |
|
|
|
|
|
|
|
import java.util.LinkedHashMap; |
|
|
|
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Created by Mitisky on 16/2/16. |
|
|
|
* Created by Mitisky on 16/2/16. |
|
|
@ -54,6 +56,12 @@ public class VanChartCustomPlotPane extends AbstractVanChartTypePane { |
|
|
|
//自定义和自动版面的容器,cardLayOut布局
|
|
|
|
//自定义和自动版面的容器,cardLayOut布局
|
|
|
|
private JPanel contentPane; |
|
|
|
private JPanel contentPane; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String title4PopupWindow() { |
|
|
|
|
|
|
|
//todo:check下组合图类
|
|
|
|
|
|
|
|
return ChartEditContext.duchampMode() ? ChartTypeInterfaceManager.TYPE_PANE_DEFAULT_TITLE : super.title4PopupWindow(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected Component[][] getPaneComponents(JPanel typePane) { |
|
|
|
protected Component[][] getPaneComponents(JPanel typePane) { |
|
|
|
|
|
|
|
|
|
|
|
initContent(); |
|
|
|
initContent(); |
|
|
|