ChartIndicatorElement

StockSharp.Xaml.Charting

The chart element representing the indicator.

Inherits: ChartElement<ChartIndicatorElement>

Implements: IChartIndicatorElement, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable

Constructors

ChartIndicatorElement
public ChartIndicatorElement()
chartIndicatorElement = ChartIndicatorElement()

Initializes a new instance of the ChartIndicatorElement.

Properties

AdditionalColor
public Color AdditionalColor { get; set; }
value = chartIndicatorElement.AdditionalColor
chartIndicatorElement.AdditionalColor = value

Compatibility property for AdditionalColor for DefaultPainter.

AntiAliasing
public bool AntiAliasing { get; set; }
value = chartIndicatorElement.AntiAliasing
chartIndicatorElement.AntiAliasing = value

Compatibility property for AntiAliasing.

AutoAssignYAxis
public bool AutoAssignYAxis { get; set; }
value = chartIndicatorElement.AutoAssignYAxis
chartIndicatorElement.AutoAssignYAxis = value

Auto assign Y axis when the element is being added to chart.

Color
public Color Color { get; set; }
value = chartIndicatorElement.Color
chartIndicatorElement.Color = value

Compatibility property for Color for DefaultPainter.

DrawStyle
public DrawStyles DrawStyle { get; set; }
value = chartIndicatorElement.DrawStyle
chartIndicatorElement.DrawStyle = value

Compatibility property for Style.

DrawTemplate
public ControlTemplate DrawTemplate { get; set; }
value = chartIndicatorElement.DrawTemplate
chartIndicatorElement.DrawTemplate = value

Compatibility property for DrawTemplate for DefaultPainter.

IndicatorPainter
public IChartIndicatorPainter IndicatorPainter { get; set; }
value = chartIndicatorElement.IndicatorPainter
chartIndicatorElement.IndicatorPainter = value

The indicator renderer.

Priority
protected override int Priority { get; }
value = chartIndicatorElement.Priority

News priority.

ShowAxisMarker
public bool ShowAxisMarker { get; set; }
value = chartIndicatorElement.ShowAxisMarker
chartIndicatorElement.ShowAxisMarker = value

Compatibility property for ShowAxisMarker.

StrokeThickness
public int StrokeThickness { get; set; }
value = chartIndicatorElement.StrokeThickness
chartIndicatorElement.StrokeThickness = value

Compatibility property for StrokeThickness.

Methods

CreateClone
protected override ChartIndicatorElement CreateClone()
result = chartIndicatorElement.CreateClone()

Create clone but do not fill out fields/properties.

GetGeneratedTitle
protected override string GetGeneratedTitle()
result = chartIndicatorElement.GetGeneratedTitle()

Get generated title.

Returns: Auto generate chart element title.

Load
public override void Load(SettingsStorage storage)
chartIndicatorElement.Load(storage)

Load settings.

storage
Settings storage.
OnDraw
protected override bool OnDraw(ChartDrawData data)
result = chartIndicatorElement.OnDraw(data)

Draw on root element.

data
Chart drawing data.

Returns: if the data was successfully drawn, otherwise, returns .

OnReset
protected override void OnReset()
chartIndicatorElement.OnReset()

Reset element.

Save
public override void Save(SettingsStorage storage)
chartIndicatorElement.Save(storage)

Save settings.

storage
Settings storage.
ToString
public override string ToString()
result = chartIndicatorElement.ToString()

Преобразовать к строковому представлению.

Returns: Строковое представление.