DataSetCollection
Wisej.Web.Ext.ChartJS.DataSetCollection
Namespace: Wisej.Web.Ext.ChartJS
Assembly: Wisej.Web.Ext.ChartJS (3.2.0.0)
Collection of DataSet objects. Represents the sets of data to plot.
public class DataSetCollection : IList, ICollection, IEnumerable, IList<DataSet>, ICollection<DataSet>, IEnumerable<DataSet>
Properties
Count

Int32: Returns the number of DataSet objects in the collection.
Item(index)

DataSet: Returns or sets the DataSet at the specified position.
Item(label)

DataSet: Returns or sets the DataSet identified by the label name.
Methods
Add(dataSet)

Adds a new DataSet to the collection.
Add(name)

Creates and adds a new DataSet to the collection.
Returns: DataSet.
Clear()

Removes all data sets.
Contains(dataSet)

Checks if the specified DataSet exists in the collection.
Returns: Boolean.
CopyTo(array, arrayIndex)

Copies all data sets to the specified array.
GetEnumerator()

Returns an enumerator that iterates all the DataSet objects in the collection.
Returns: IEnumerator<DataSet>.
IndexOf(dataSet)

Returns the index of the specified DataSet in the collection.
Returns: Int32.
Insert(index, dataSet)

Returns the index of the DataSet in the collection.
Remove(dataSet)

Removes the DataSet from the collection and updates the chart.
Returns: Boolean.
RemoveAt(index)

Removes the DataSet at the specified index from the collection and updates the chart.
Last updated
Was this helpful?