public class ChartData extends Object implements Serializable
Constructor and Description |
---|
ChartData() |
ChartData(List<ChartDataSet> dataSet,
Object labels) |
Modifier and Type | Method and Description |
---|---|
void |
addChartDataSet(ChartDataSet newDataSet)
Adds a new dataSet as
ChartDataSet data to dataSet option |
List<ChartDataSet> |
getDataSet()
Gets the dataSet
|
Object |
getLabels()
Gets the labels
|
void |
setLabels(Object labels)
Sets the labels
|
public ChartData()
public ChartData(List<ChartDataSet> dataSet, Object labels)
public List<ChartDataSet> getDataSet()
public Object getLabels()
public void setLabels(Object labels)
labels
- the object of labels as String or Listpublic void addChartDataSet(ChartDataSet newDataSet)
ChartDataSet
data to dataSet optionnewDataSet
- Copyright © 2019. All rights reserved.