Documentation
This commit is contained in:
parent
4367fbb8f6
commit
1ff1c8fcfa
1 changed files with 8 additions and 0 deletions
|
@ -55,10 +55,18 @@ public abstract class ChartData<T extends IDataSet<? extends Entry>> {
|
|||
*/
|
||||
protected List<T> mDataSets;
|
||||
|
||||
/**
|
||||
* Default constructor.
|
||||
*/
|
||||
public ChartData() {
|
||||
mDataSets = new ArrayList<T>();
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor taking single or multiple DataSet objects.
|
||||
*
|
||||
* @param dataSets
|
||||
*/
|
||||
public ChartData(T... dataSets) {
|
||||
mDataSets = arrayToList(dataSets);
|
||||
init();
|
||||
|
|
Loading…
Add table
Reference in a new issue