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
44 lines
1.1 KiB
9 years ago
|
package com.fr.solution.plugin.chart.echarts.map;
|
||
9 years ago
|
|
||
|
import com.fr.chart.chartattr.Chart;
|
||
|
import com.fr.general.Inter;
|
||
9 years ago
|
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 {
|
||
|
|
||
9 years ago
|
private static ECharts createChineseMap() {
|
||
9 years ago
|
ChineseMapPlot plot = new ChineseMapPlot();
|
||
9 years ago
|
return new ECharts(plot);
|
||
9 years ago
|
}
|
||
|
|
||
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() {
|
||
9 years ago
|
return "com/fr/solution/plugin/chart/echarts/map/images/map256.png";
|
||
9 years ago
|
}
|
||
|
|
||
9 years ago
|
}
|