Skip to main content

TimeSeriesCollection

Namespace: Wisej.Web.Ext.SmoothieChart

Assembly: Wisej.Web.Ext.SmoothieChart

Represents the collection of TimeSeries lines displayed on the SmoothieChart control.

public class TimeSeriesCollection : IList<TimeSeries>, ICollection<TimeSeries>, IEnumerable<TimeSeries>, IEnumerable, IList, ICollection

Properties

Instance memberCount

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

Instance memberItem(index)

TimeSeries: Returns or sets the TimeSeries at the specified index.

Methods

Instance memberAdd(series)

Adds a new TimeSeries to the collection.

ParameterTypeDescription
seriesTimeSeriesThe TimeSeries to add to the collection.

Instance memberClear()

Removes all data sets.

Instance memberContains(series)

Checks if the specified TimeSeries exists in the collection.

ParameterTypeDescription
seriesTimeSeriesThe TimeSeries to look for.

Returns: Boolean.

Instance memberCopyTo(array, arrayIndex)

Copies all data sets to the specified array.

ParameterTypeDescription
arrayTimeSeries[]The destination array.
arrayIndexInt32The index at which to begin the copy.

Instance memberGetEnumerator()

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

Returns: IEnumerator<TimeSeries>.

Instance memberIndexOf(series)

Returns the index of the specified TimeSeries in the collection.

ParameterTypeDescription
seriesTimeSeriesThe TimeSeries to look for.

Returns: Int32.

Instance memberInsert(index, series)

Returns the index of the TimeSeries in the collection.

ParameterTypeDescription
indexInt32The index where the new TimeSeries should be insert at.
seriesTimeSeriesThe TimeSeries to insert in the collection.

Instance memberRemove(series)

Removes the TimeSeries from the collection and updates the chart.

ParameterTypeDescription
seriesTimeSeriesThe TimeSeries to remove.

Returns: Boolean.

Instance memberRemoveAt(index)

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

ParameterTypeDescription
indexInt32The index of the TimeSeries to remove.