Package de.yanwittmann.j2chartjs.dataset
Class DoughnutPieChartDataset
java.lang.Object
de.yanwittmann.j2chartjs.dataset.ChartDataset<DoughnutPieChartDataset,Number>
de.yanwittmann.j2chartjs.dataset.DoughnutPieChartDataset
-
Field Summary
Fields inherited from class de.yanwittmann.j2chartjs.dataset.ChartDataset
data -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBackgroundColor(Color... colors)addBorderColor(Color... colors)addBorderWidth(Number... widths)addHoverBackgroundColor(Color... colors)addHoverBorderColor(Color... colors)addHoverBorderWidth(Number... widths)addHoverOffset(Number... offsets)addSpacing(Number... spacings)getLabel()setBackgroundColor(List<Color> backgroundColor)setBorderColor(List<Color> borderColor)setBorderWidth(List<Number> borderWidth)setCircumference(Integer circumference)setHoverBackgroundColor(List<Color> hoverBackgroundColor)setHoverBorderColor(List<Color> hoverBorderColor)setHoverBorderWidth(List<Number> hoverBorderWidth)setHoverOffset(List<Number> hoverOffset)setRotation(Integer rotation)setSpacing(List<Number> spacing)org.json.JSONObjecttoJson()
-
Constructor Details
-
DoughnutPieChartDataset
public DoughnutPieChartDataset()
-
-
Method Details
-
getLabel
-
setLabel
-
getCircumference
-
setCircumference
-
getRotation
-
setRotation
-
getRadius
-
setRadius
-
getCutout
-
setCutout
-
getBackgroundColor
-
setBackgroundColor
-
getBorderColor
-
setBorderColor
-
getBorderWidth
-
setBorderWidth
-
getOffset
-
setOffset
-
getHoverBackgroundColor
-
setHoverBackgroundColor
-
getHoverBorderColor
-
setHoverBorderColor
-
getHoverBorderWidth
-
setHoverBorderWidth
-
getHoverOffset
-
setHoverOffset
-
getSpacing
-
setSpacing
-
getWeight
-
setWeight
-
addBackgroundColor
-
addBorderColor
-
addBorderWidth
-
addOffset
-
addSpacing
-
addWeight
-
addHoverBackgroundColor
-
addHoverBorderColor
-
addHoverBorderWidth
-
addHoverOffset
-
toJson
public org.json.JSONObject toJson()- Specified by:
toJsonin classChartDataset<DoughnutPieChartDataset,Number>
-