package com.github.AAChartModel.AAChartCore.AAOptionsModel;
|
|
public class AAItemStyle {
|
public String color;
|
public String cursor;
|
public String pointer;
|
public String fontSize;
|
public String fontWeight;
|
|
|
public AAItemStyle color(String prop) {
|
color = prop;
|
return this;
|
}
|
|
public AAItemStyle cursor(String prop) {
|
cursor = prop;
|
return this;
|
}
|
|
public AAItemStyle pointer(String prop) {
|
pointer = prop;
|
return this;
|
}
|
|
public AAItemStyle fontSize(Number prop) {
|
fontSize = prop + "px";
|
return this;
|
}
|
|
public AAItemStyle fontWeight(String prop) {
|
fontWeight = prop;
|
return this;
|
}
|
}
|