报表中可以使用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.

44 lines
1.1 KiB

package com.fr.solution.plugin.chart.echarts.map;
9 years ago
import com.fr.chart.chartattr.Chart;
import com.fr.general.Inter;
import com.fr.solution.plugin.chart.echarts.common.base.AbstractIndependentEChartsProvider;
import com.fr.solution.plugin.chart.echarts.common.base.ECharts;
import com.fr.solution.plugin.chart.echarts.map.plot.ChineseMapPlot;
9 years ago
/**
* Created by richie on 16/1/29.
*/
public class ChineseMap extends AbstractIndependentEChartsProvider {
private static ECharts createChineseMap() {
9 years ago
ChineseMapPlot plot = new ChineseMapPlot();
return new ECharts(plot);
9 years ago
}
public static ECharts[] charts = new ECharts[] {
9 years ago
createChineseMap()
};
9 years ago
@Override
public String getChartName() {
return "Plugin-ECharts_Chinese_Map";
}
@Override
public String getChartUseName() {
return Inter.getLocText("Plugin-ECharts_Chinese_Map");
}
@Override
public Chart[] getChartTypes() {
9 years ago
return charts;
9 years ago
}
@Override
public String getChartImagePath() {
return "com/fr/solution/plugin/chart/echarts/map/images/map256.png";
9 years ago
}
}