public class PieDataset extends RoundDataset<PieDataset,BigDecimal>
label
backgroundColor, borderColor, borderWidth, hoverBackgroundColor, hoverBorderColor, hoverBorderWidth
Constructor and Description |
---|
PieDataset() |
Modifier and Type | Method and Description |
---|---|
PieDataset |
addData(double data)
Add the data point to this
Dataset |
PieDataset |
addData(int data)
Add the data point to this
Dataset |
PieDataset |
setData(double... data)
Sets the backing data list to the argument, replacing any data already
added or set
|
PieDataset |
setData(int... data)
Sets the backing data list to the argument, replacing any data already
added or set
|
getLabel, setLabel
addBackgroundColor, addBackgroundColors, addBorderColor, addBorderColors, addBorderWidth, addHoverBackgroundColor, addHoverBorderColor, addHoverBorderWidth, getBackgroundColor, getBorderColor, getBorderWidth, getHoverBackgroundColor, getHoverBorderColor, getHoverBorderWidth, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderWidth, setBorderWidth, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderWidth, setHoverBorderWidth
public PieDataset setData(int... data)
data
- The data to plot in a linepublic PieDataset setData(double... data)
data
- The data to plot in a linepublic PieDataset addData(int data)
Dataset
Dataset.setData(Collection)
public PieDataset addData(double data)
Dataset
Dataset.setData(Collection)
Copyright © 2017. All rights reserved.