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

Int32: Returns the number of DataSet objects in the collection.

DataSet: Returns or sets the DataSet at the specified position.

DataSet: Returns or sets the DataSet identified by the label name.

Methods

Adds a new DataSet to the collection.

ParameterTypeDescription

dataSet

The DataSet to add to the collection.

Creates and adds a new DataSet to the collection.

ParameterTypeDescription

name

The name of the new DataSet.

Returns: DataSet.

Removes all data sets.

Checks if the specified DataSet exists in the collection.

ParameterTypeDescription

dataSet

The DataSet to look for.

Returns: Boolean.

Copies all data sets to the specified array.

ParameterTypeDescription

array

The destination array.

arrayIndex

The index at which to begin the copy.

Returns an enumerator that iterates all the DataSet objects in the collection.

Returns: IEnumerator<DataSet>.

Returns the index of the specified DataSet in the collection.

ParameterTypeDescription

dataSet

Returns: Int32.

Returns the index of the DataSet in the collection.

ParameterTypeDescription

index

dataSet

Removes the DataSet from the collection and updates the chart.

ParameterTypeDescription

dataSet

The DataSet to remove.

Returns: Boolean.

Removes the DataSet at the specified index from the collection and updates the chart.

ParameterTypeDescription

index

The index of the DataSet to remove.

Last updated