Table of Contents

Class PriceSelectionDataSeries

Namespace
ATAS.Indicators
Assembly
ATAS.Indicators.dll

Represents a data series of price selection values, each element is a synchronized list of PriceSelectionValue.

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

Constructors

PriceSelectionDataSeries(string)

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

public PriceSelectionDataSeries(string id)

Parameters

id string

The unique and constant data series ID for data serialization.

PriceSelectionDataSeries(string, string)

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

public PriceSelectionDataSeries(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.

public override int Count { get; }

Property Value

int

IsVisible

Gets a value indicating whether the data series is drawn on the chart; returns Visible.

[Browsable(false)]
public override bool IsVisible { get; }

Property Value

bool

this[int]

Gets or sets the element at the specified index.

public override SyncList<PriceSelectionValue> this[int index] { get; set; }

Parameters

index int

must be a non-negative integer.

Property Value

SyncList<PriceSelectionValue>

An element of type T at the specified index.

Visible

Gets or sets the visibility of the price selection data series.

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

Property Value

bool

Methods

Clear()

Clears all elements from the data series.

public override void Clear()