TimeSeriesCollection
Namespace: Wisej.Web.Ext.SmoothieChart
Assembly: Wisej.Web.Ext.SmoothieChart
Represents the collection of TimeSeries lines displayed on the SmoothieChart control.
- C#
- VB.NET
public class TimeSeriesCollection : IList<TimeSeries>, ICollection<TimeSeries>, IEnumerable<TimeSeries>, IEnumerable, IList, ICollection
Public Class TimeSeriesCollection
Inherits IList(Of TimeSeries)
Implements ICollection(Of TimeSeries), IEnumerable(Of TimeSeries), IEnumerable, IList, ICollection
Properties
Count
Int32: Returns the number of TimeSeries objects in the collection.
Item(index)
TimeSeries: Returns or sets the TimeSeries at the specified index.
Methods
Add(series)
Adds a new TimeSeries to the collection.
| Parameter | Type | Description |
|---|---|---|
| series | TimeSeries | The TimeSeries to add to the collection. |
Clear()
Removes all data sets.
Contains(series)
Checks if the specified TimeSeries exists in the collection.
| Parameter | Type | Description |
|---|---|---|
| series | TimeSeries | The TimeSeries to look for. |
Returns: Boolean.
CopyTo(array, arrayIndex)
Copies all data sets to the specified array.
| Parameter | Type | Description |
|---|---|---|
| array | TimeSeries[] | The destination array. |
| arrayIndex | Int32 | The index at which to begin the copy. |
GetEnumerator()
Returns an enumerator that iterates all the TimeSeries objects in the collection.
Returns: IEnumerator<TimeSeries>.
IndexOf(series)
Returns the index of the specified TimeSeries in the collection.
| Parameter | Type | Description |
|---|---|---|
| series | TimeSeries | The TimeSeries to look for. |
Returns: Int32.
Insert(index, series)
Returns the index of the TimeSeries in the collection.
| Parameter | Type | Description |
|---|---|---|
| index | Int32 | The index where the new TimeSeries should be insert at. |
| series | TimeSeries | The TimeSeries to insert in the collection. |
Remove(series)
Removes the TimeSeries from the collection and updates the chart.
| Parameter | Type | Description |
|---|---|---|
| series | TimeSeries | The TimeSeries to remove. |
Returns: Boolean.
RemoveAt(index)
Removes the TimeSeries at the specified index from the collection and updates the chart.
| Parameter | Type | Description |
|---|---|---|
| index | Int32 | The index of the TimeSeries to remove. |