依赖于finekit的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.
 
 

20 lines
367 B

package com.fr.plugin.demo;
/**
* @author Bjorn
* @version 10.0
* Created by Bjorn on 2019-09-05
*/
public enum PieType {
PIE,
RING;
public static PieType parseInt(int index) {
for (PieType type : PieType.values()) {
if (type.ordinal() == index) {
return type;
}
}
return PIE;
}
}