Table of Contents

Class PaintbarsDataSeries

Namespace
ATAS.Indicators
Assembly
ATAS.Indicators.dll

Represents a data series of paintbars, each element is a nullable System.Windows.Media.Color value.

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

Constructors

PaintbarsDataSeries(string)

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

public PaintbarsDataSeries(string id)

Parameters

id string

The unique and constant data series ID for data serialization.

PaintbarsDataSeries(string, string)

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

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

[IgnoreDataMember]
public override int Count { get; }

Property Value

int

HideChart

Gets or sets whether the main chart should be hidden.

[DataMember]
[Browsable(false)]
public bool HideChart { get; set; }

Property Value

bool

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 Color? this[int index] { get; set; }

Parameters

index int

must be a non-negative integer.

Property Value

Color?

An element of type T at the specified index.

Visible

Gets or sets the visibility of the paintbars 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()