
com.github.abel533.echarts.Geo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ECharts Show documentation
Show all versions of ECharts Show documentation
这是一个针对ECharts2.0版本的Java类库,实现了所有ECharts中的Json结构对应的Java对象,并且可以很方便的创建Option,Series等
package com.github.abel533.echarts;
import com.github.abel533.echarts.code.Roam;
import com.github.abel533.echarts.style.ItemStyle;
/**
* @author liuzh
* @since 2016-02-28 17:05
*/
public class Geo extends Basic implements Component {
private String map;
private Roam roam;
private ItemStyle label;
private ItemStyle itemStyle;
public String map() {
return this.map;
}
public Geo map(String map) {
this.map = map;
return this;
}
public Roam roam() {
return this.roam;
}
public Geo roam(Roam roam) {
this.roam = roam;
return this;
}
public ItemStyle label() {
if (this.label == null) {
this.label = new ItemStyle();
}
return this.label;
}
public Geo label(ItemStyle label) {
this.label = label;
return this;
}
public ItemStyle itemStyle() {
if (this.itemStyle == null) {
this.itemStyle = new ItemStyle();
}
return this.itemStyle;
}
public Geo itemStyle(ItemStyle itemStyle) {
this.itemStyle = itemStyle;
return this;
}
public String getMap() {
return map;
}
public void setMap(String map) {
this.map = map;
}
public Roam getRoam() {
return roam;
}
public void setRoam(Roam roam) {
this.roam = roam;
}
public ItemStyle getLabel() {
return label;
}
public void setLabel(ItemStyle label) {
this.label = label;
}
public ItemStyle getItemStyle() {
return itemStyle;
}
public void setItemStyle(ItemStyle itemStyle) {
this.itemStyle = itemStyle;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy