Table of Contents

Class ObjectDataSeries

Namespace
ATAS.Indicators
Assembly
ATAS.Indicators.dll

Represents a data series of objects, allowing storing any type of data elements.

[DataContract]
public sealed class ObjectDataSeries : BaseDataSeries<object>, IDataSeries, INotifyPanelPropertyChanged
Inheritance
object
ObjectDataSeries
Implements
Extension Methods

Constructors

ObjectDataSeries(string)

Initializes a new instance of the ObjectDataSeries class with the specified unique and constant data series ID for data serialization.

public ObjectDataSeries(string id)

Parameters

id string

The unique and constant data series ID for data serialization.

ObjectDataSeries(string, string)

Initializes a new instance of the ObjectDataSeries class with the specified unique and constant data series ID for data serialization and unique name.

public ObjectDataSeries(string id, string name)

Parameters

id string

The unique and constant data series ID for data serialization.

name string

The unique data series name.

Properties

Count

Gets the number of elements in the data series.

[Browsable(false)]
[IgnoreDataMember]
public override int Count { get; }

Property Value

int

this[int]

Gets or sets the element at the specified index.

public override object this[int index] { get; set; }

Parameters

index int

must be a non-negative integer.

Property Value

object

An element of type T at the specified index.

ScaleIt

[DataMember]
[Display(ResourceType = typeof(Strings), Name = "ScaleIt", GroupName = "Common", Order = 10)]
public bool ScaleIt { get; set; }

Property Value

bool

Methods

Clear()

Clears all elements from the data series.

public override void Clear()