Class RangeDataSeries
- Namespace
- ATAS.Indicators
- Assembly
- ATAS.Indicators.dll
Represents a data series of range values, each element is a RangeValue.
[DataContract]
[DataSeriesEditor(DataSeriesTypes.Band)]
public sealed class RangeDataSeries : BaseDataSeries<RangeValue>, IDataSeries, INotifyPanelPropertyChanged
- Inheritance
-
objectRangeDataSeries
- Implements
- Extension Methods
Constructors
RangeDataSeries(string)
Initializes a new instance of the RangeDataSeries class with the specified unique and constant data series ID for data serialization.
public RangeDataSeries(string id)
Parameters
idstringThe unique and constant data series ID for data serialization.
RangeDataSeries(string, string)
Initializes a new instance of the RangeDataSeries class with the specified unique and constant data series ID for data serialization and unique name.
public RangeDataSeries(string id, string name)
Parameters
idstringThe unique and constant data series ID for data serialization.
namestringThe unique data series name.
Properties
Count
Gets the number of elements in the data series.
[IgnoreDataMember]
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 RangeValue this[int index] { get; set; }
Parameters
indexintmust be a non-negative integer.
Property Value
- RangeValue
An element of type T at the specified index.
RangeColor
Gets or sets the color of the range data series.
[DataMember]
[Display(ResourceType = typeof(Strings), Name = "Color", GroupName = "Common", Order = 30)]
public Color RangeColor { get; set; }
Property Value
- Color
RenderColor
Gets or sets the fill color used to draw the range; it is updated from RangeColor when that property is set.
[Browsable(false)]
public Color RenderColor { get; set; }
Property Value
- Color
ScaleIt
Gets or sets whether to scale the data series on the chart.
[DataMember]
[Display(ResourceType = typeof(Strings), Name = "ScaleIt", GroupName = "Common", Order = 20)]
public bool ScaleIt { get; set; }
Property Value
- bool
Visible
Gets or sets the visibility of the range 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()