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.
43 lines
1.3 KiB
43 lines
1.3 KiB
package com.fr.solution.plugin.chart.echarts.pie; |
|
|
|
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane; |
|
import com.fr.locale.InterProviderFactory; |
|
import com.fr.solution.plugin.chart.echarts.common.ui.AbstractEChartsTypeUI; |
|
import com.fr.solution.plugin.chart.echarts.pie.ui.EChartsPieChartTypePane; |
|
|
|
/** |
|
* Created by richie on 16/1/29. |
|
*/ |
|
public class EChartsPieTypeUI extends AbstractEChartsTypeUI { |
|
|
|
@Override |
|
public AbstractChartTypePane getPlotTypePane() { |
|
return new EChartsPieChartTypePane(); |
|
} |
|
|
|
public String getName() { |
|
return InterProviderFactory.getProvider().getLocText("Plugin-ECharts_Pie"); |
|
} |
|
|
|
@Override |
|
public String[] getSubName() { |
|
return new String[]{ |
|
"Normal", |
|
"Area", |
|
"Redius" |
|
}; |
|
} |
|
|
|
public String[] getDemoImagePath() { |
|
return new String[]{ |
|
"com/fr/solution/plugin/chart/echarts/pie/images/pie256.png", |
|
"com/fr/solution/plugin/chart/echarts/pie/images/pie256.png", |
|
"com/fr/solution/plugin/chart/echarts/pie/images/pie256.png" |
|
}; |
|
} |
|
|
|
@Override |
|
public String getIconPath() { |
|
return "com/fr/solution/plugin/chart/echarts/pie/images/pie.png"; |
|
} |
|
} |