Class ChartIndicatorElement
- Namespace
- StockSharp.Xaml.Charting
- Assembly
- StockSharp.Xaml.Charting.dll
The chart element representing the indicator.
[Display(ResourceType = typeof(LocalizedStrings), Name = "IndicatorSettings")]
public sealed class ChartIndicatorElement : ChartElement<ChartIndicatorElement>, IChartPart<ChartIndicatorElement>, IChartIndicatorElement, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable
- Inheritance
-
ChartIndicatorElement
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
ChartIndicatorElement()
Initializes a new instance of the ChartIndicatorElement.
public ChartIndicatorElement()
Properties
AdditionalColor
Compatibility property for AdditionalColor for DefaultPainter.
[Browsable(false)]
public Color AdditionalColor { get; set; }
Property Value
AntiAliasing
Compatibility property for AntiAliasing.
[Browsable(false)]
public bool AntiAliasing { get; set; }
Property Value
AutoAssignYAxis
Auto assign Y axis when the element is being added to chart.
public bool AutoAssignYAxis { get; set; }
Property Value
Color
Compatibility property for Color for DefaultPainter.
[Browsable(false)]
public Color Color { get; set; }
Property Value
DrawStyle
Compatibility property for Style.
[Browsable(false)]
public DrawStyles DrawStyle { get; set; }
Property Value
- DrawStyles
DrawTemplate
Compatibility property for DrawTemplate for DefaultPainter.
[Browsable(false)]
public ControlTemplate DrawTemplate { get; set; }
Property Value
IndicatorPainter
The indicator renderer.
public IChartIndicatorPainter IndicatorPainter { get; set; }
Property Value
ShowAxisMarker
Compatibility property for ShowAxisMarker.
[Browsable(false)]
public bool ShowAxisMarker { get; set; }
Property Value
StrokeThickness
Compatibility property for StrokeThickness.
[Browsable(false)]
public int StrokeThickness { get; set; }
Property Value
Methods
CreateClone()
Create clone but do not fill out fields/properties.
protected override ChartIndicatorElement CreateClone()
Returns
GetGeneratedTitle()
Get generated title.
protected override string GetGeneratedTitle()
Returns
- string
Auto generate chart element title.
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnDraw(ChartDrawData)
Draw on root element.
protected override bool OnDraw(ChartDrawData data)
Parameters
data
ChartDrawDataChart drawing data.
Returns
OnReset()
Reset element.
protected override void OnReset()
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
ToString()
public override string ToString()