public class PieChartDataSet extends ChartDataSet
| Constructor and Description | 
|---|
| PieChartDataSet() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | encode()Write the options of this dataSet | 
| List<String> | getBackgroundColor()Gets the backgroundColor | 
| List<String> | getBorderColor()Gets the borderColor | 
| List<Number> | getBorderWidth()Gets the borderWidth | 
| List<Number> | getData()Gets the list of data in this dataSet | 
| List<String> | getHoverBackgroundColor()Gets the hoverBackgroundColor | 
| List<String> | getHoverBorderColor()Gets the hoverBorderColor | 
| List<Number> | getHoverBorderWidth()Gets the hoverBorderWidth | 
| String | getType()Gets the type | 
| void | setBackgroundColor(List<String> backgroundColor)Sets the backgroundColor | 
| void | setBorderColor(List<String> borderColor)Sets the borderColor | 
| void | setBorderWidth(List<Number> borderWidth)Sets the borderWidth | 
| void | setData(List<Number> data)Sets the list of data in this dataSet | 
| void | setHoverBackgroundColor(List<String> hoverBackgroundColor)Sets the hoverBackgroundColor | 
| void | setHoverBorderColor(List<String> hoverBorderColor)Sets the hoverBorderColor | 
| void | setHoverBorderWidth(List<Number> hoverBorderWidth)Sets the hoverBorderWidth | 
isHidden, setHiddenpublic List<Number> getData()
public void setData(List<Number> data)
data - List<Number> list of datapublic List<String> getBackgroundColor()
public void setBackgroundColor(List<String> backgroundColor)
backgroundColor - The fill color of the arcs in the dataset.public void setBorderColor(List<String> borderColor)
borderColor - The border color of the arcs in the dataset.public void setBorderWidth(List<Number> borderWidth)
borderWidth - The border width of the arcs in the dataset.public List<String> getHoverBackgroundColor()
public void setHoverBackgroundColor(List<String> hoverBackgroundColor)
hoverBackgroundColor - The fill colour of the arcs when hovered.public List<String> getHoverBorderColor()
public void setHoverBorderColor(List<String> hoverBorderColor)
hoverBorderColor - The stroke colour of the arcs when hovered.public List<Number> getHoverBorderWidth()
public void setHoverBorderWidth(List<Number> hoverBorderWidth)
hoverBorderWidth - The stroke width of the arcs when hovered.public String getType()
public String encode() throws IOException
encode in class ChartDataSetIOException - If an I/O error occursCopyright © 2020. All rights reserved.