ChartIndicatorElement

StockSharp.Xaml.Charting

Das Diagrammelement, das den Indikator darstellt.

Erbt von: ChartElement<ChartIndicatorElement>

Implementiert: IChartIndicatorElement, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable

Konstruktoren

ChartIndicatorElement
public ChartIndicatorElement()
chartIndicatorElement = ChartIndicatorElement()

Initialisiert eine neue Instanz von ChartIndicatorElement.

Eigenschaften

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

Kompatibilitätseigenschaft für AdditionalColor DefaultPainter.

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

Kerzen, die Glättung darstellen (standardmäßig aktiviert).

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

Auto-Zuweisung Y-Achse, wenn das Element in Diagramm hinzugefügt wird.

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

Kompatibilitätseigenschaft für Farbe für DefaultPainter.

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

Stil der Kerzen Rendering.

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

Kompatibilitätseigenschaft für DrawTemplate DefaultPainter.

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

Der Indikator-Renderer.

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

Priorität Nachrichten.

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

Y-Achsenmarker anzeigen.

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

Linienbreite (Bar oder Grenze), mit der Kerze auf dem Chart gezeichnet wird.

Methoden

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

Erstellen Sie ein Klonobjekt (nicht initialisiert).

Rückgabe: Strategie

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

Generierter Titel.

Rückgabe: Auto generieren Chart Element Titel.

LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartIndicatorElement.LoadAsync(storage, cancellationToken)

Asynchronously loads the state of the object from the specified SettingsStorage.

storage
The SettingsStorage instance from which to load the data.
cancellationToken
A token to monitor for cancellation requests.

Rückgabe: A task that represents the asynchronous load operation.

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

Zeichnen Sie auf Wurzelelement.

data
Kartenzeichnungsdaten.

Rückgabe: wenn die Daten erfolgreich gezogen wurden, andernfalls zurückgegeben werden.

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

Zustand zurücksetzen.

SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartIndicatorElement.SaveAsync(storage, cancellationToken)

Asynchronously saves the state of the object to the specified SettingsStorage.

storage
The SettingsStorage instance to which to save the data.
cancellationToken
A token to monitor for cancellation requests.

Rückgabe: A task that represents the asynchronous save operation.

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

Konvertieren Sie in eine Liniendarstellung.

Rückgabe: String-Leistung.