报表中可以使用echarts图表。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.4 KiB

9 years ago
package com.fr.solution.plugin.chart.echarts;
9 years ago
import com.fr.chart.chartattr.Plot;
import com.fr.design.chart.fun.impl.AbstractIndependentChartUI;
import com.fr.design.mainframe.chart.gui.ChartDataPane;
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.solution.plugin.chart.echarts.ui.AbstractIndependentEChartsUI;
9 years ago
import com.fr.solution.plugin.chart.echarts.ui.map.ChineseMapReportDataContentPane;
import com.fr.solution.plugin.chart.echarts.ui.map.ChineseMapTableDataContentPane;
9 years ago
import com.fr.solution.plugin.chart.echarts.ui.map.ChineseChartTypePane;
9 years ago
/**
* Created by richie on 16/1/29.
*/
public class ChineseMapUI extends AbstractIndependentEChartsUI {
9 years ago
@Override
public AbstractChartTypePane getPlotTypePane() {
9 years ago
return new ChineseChartTypePane();
9 years ago
}
@Override
public AbstractTableDataContentPane getTableDataSourcePane(Plot plot, ChartDataPane parent) {
9 years ago
return new ChineseMapTableDataContentPane(parent);
9 years ago
}
@Override
public AbstractReportDataContentPane getReportDataSourcePane(Plot plot, ChartDataPane parent) {
9 years ago
return new ChineseMapReportDataContentPane(parent);
9 years ago
}
@Override
public String getIconPath() {
9 years ago
return "com/fr/solution/plugin/chart/echarts/images/map/chinese.png";
}
}