ChartDrawable

StockSharp.Xaml.Charting.Maui

MAUI drawable, das ein Candlestick-Diagramm darstellt.

Implementiert: IDrawable

Eigenschaften

AdditionalYAxes
public List<ChartAxis> AdditionalYAxes { get; }
value = chartDrawable.AdditionalYAxes

Erhält die zusätzlichen Y-Achsen.

Annotations
public List<IAnnotation> Annotations { get; }
value = chartDrawable.Annotations

Bekommt die Annotations Collection.

Areas
public List<ChartArea> Areas { get; }
value = chartDrawable.Areas

Holt die Chart Areas Collection für Multi-Area Rendering.

BackgroundColor
public ChartColor BackgroundColor { get; set; }
value = chartDrawable.BackgroundColor
chartDrawable.BackgroundColor = value

Hintergrundfarbe.

BoxVolumeProfiles
public List<BoxVolumeProfile> BoxVolumeProfiles { get; }
value = chartDrawable.BoxVolumeProfiles

Bekommt oder setzt die Box-Volumenprofile.

Candles
public CandleDataSeries Candles { get; set; }
value = chartDrawable.Candles
chartDrawable.Candles = value

Die Kerzendaten zum Anzeigen.

ClusterProfiles
public List<ClusterProfile> ClusterProfiles { get; }
value = chartDrawable.ClusterProfiles

Bekommt oder setzt die Clusterprofile.

CrosshairPosition
public ChartPoint? CrosshairPosition { get; set; }
value = chartDrawable.CrosshairPosition
chartDrawable.CrosshairPosition = value

Position des Fadenkreuzes (Null, falls nicht dargestellt).

DrawStyle
public ChartDrawStyle DrawStyle { get; set; }
value = chartDrawable.DrawStyle
chartDrawable.DrawStyle = value

Der Chart-Draw-Stil.

Indicators
public List<ValueTuple<IReadOnlyList<decimal?>, ChartColor, string>> Indicators { get; }
value = chartDrawable.Indicators

Indikatordatenreihen (ausschaltbare Werte).

Legend
public ChartLegend Legend { get; }
value = chartDrawable.Legend

Erhält die Legendenkonfiguration.

Modifiers
public ModifierGroup Modifiers { get; set; }
value = chartDrawable.Modifiers
chartDrawable.Modifiers = value

Bestimmt oder setzt die Modifikatorgruppe zum Zeichnen von Modifikatorvisuals.

OscillatorPanes
public List<OscillatorPane> OscillatorPanes { get; }
value = chartDrawable.OscillatorPanes

Oszillator-Unterflächen (RSI, MACD, ...) gestapelt unter dem Preisdiagramm, jedes mit seiner eigenen vertikalen Skala. Standardmäßig leeren — wenn leer, wird das Diagramm genau wie zuvor dargestellt, wobei die volle Höhe für die Preis- (und optionale Volumen-) Fläche verwendet wird.

Padding
public double Padding { get; set; }
value = chartDrawable.Padding
chartDrawable.Padding = value

Padding um den Chartbereich.

PnFData
public PnFChartData PnFData { get; set; }
value = chartDrawable.PnFData
chartDrawable.PnFData = value

Bekommt oder setzt die Punkt- und Zahlendaten.

ShowCrosshair
public bool ShowCrosshair { get; set; }
value = chartDrawable.ShowCrosshair
chartDrawable.ShowCrosshair = value

Ob man das Fadenkreuz zeigt.

ShowLegend
public bool ShowLegend { get; set; }
value = chartDrawable.ShowLegend
chartDrawable.ShowLegend = value

Ob man die Legende zeigen soll.

ShowVolume
public bool ShowVolume { get; set; }
value = chartDrawable.ShowVolume
chartDrawable.ShowVolume = value

Ob die Volumen-Subplot angezeigt wird.

StartIndex
public int StartIndex { get; set; }
value = chartDrawable.StartIndex
chartDrawable.StartIndex = value

Der Startindex der sichtbaren Kerzen.

Theme
public ChartTheme Theme { get; set; }
value = chartDrawable.Theme
chartDrawable.Theme = value

Bekommt oder setzt das Chart-Thema.

VisibleCandleCount
public int VisibleCandleCount { get; set; }
value = chartDrawable.VisibleCandleCount
chartDrawable.VisibleCandleCount = value

Die Anzahl der Kerzen, die im Viewport sichtbar sind.

VolumeHeightRatio
public double VolumeHeightRatio { get; set; }
value = chartDrawable.VolumeHeightRatio
chartDrawable.VolumeHeightRatio = value

Höhenverhältnis der Teilfläche (0,0 - 1,0).

XAxisHeight
public double XAxisHeight { get; set; }
value = chartDrawable.XAxisHeight
chartDrawable.XAxisHeight = value

Höhe der X-Achsenfläche in Pixeln.

YAxisWidth
public double YAxisWidth { get; set; }
value = chartDrawable.YAxisWidth
chartDrawable.YAxisWidth = value

Breite der Y-Achsenfläche in Pixeln.

Methoden

ScreenToData
public ValueTuple<double, decimal> ScreenToData(ChartPoint screenPoint)
result = chartDrawable.ScreenToData(screenPoint)

Konvertiert einen Bildschirmpixelpunkt (in Chart-lokalen Koordinaten) in Datenkoordinaten: einen gebrochenen Kerzenindex und einen Preis. Gibt zurück (NaN, 0), wenn sich der Punkt außerhalb des Preisbereichs befindet oder noch kein Rahmen gezeichnet wurde. Verwendet den tatsächlichen Kerzenbereich, so dass die Zuordnung korrekt bleibt, wenn Oszillator-Unterfelder ihn verkleinern.