DataSet<T extends Entry> constructor
Creates a DataSet object with the given values (entries) it represents. Also, a label that describes the DataSet can be specified. The label can also be used to retrieve the DataSet from a ChartData object.
@param values @param label
Implementation
DataSet(List<T> values, String label) : super.withLabel(label) {
this._values = values;
_values ??= List<T>.empty(growable: true);
calcMinMax();
}