ChartDrawable
StockSharp.Xaml.Charting.Maui
キャンドルスティックチャートをレンダリングするMAUIの引っ越し可能。
実装: IDrawable
プロパティ
AdditionalYAxes
public List<ChartAxis> AdditionalYAxes { get; }
value = chartDrawable.AdditionalYAxes
追加のY軸を取得します。
Annotations
public List<IAnnotation> Annotations { get; }
value = chartDrawable.Annotations
注釈コレクションを取得します。
Areas
public List<ChartArea> Areas { get; }
value = chartDrawable.Areas
複数の領域レンダリングのためのチャートエリアコレクションを取得します。
BackgroundColor
public ChartColor BackgroundColor { get; set; }
value = chartDrawable.BackgroundColor
chartDrawable.BackgroundColor = value
背景色。
BoxVolumeProfiles
public List<BoxVolumeProfile> BoxVolumeProfiles { get; }
value = chartDrawable.BoxVolumeProfiles
取得またはボックスのボリュームプロファイルを設定します。
Candles
public CandleDataSeries Candles { get; set; }
value = chartDrawable.Candles
chartDrawable.Candles = value
キャンドルデータを表示.
ClusterProfiles
public List<ClusterProfile> ClusterProfiles { get; }
value = chartDrawable.ClusterProfiles
クラスタープロファイルを取得またはセットします。
CrosshairPosition
public ChartPoint? CrosshairPosition { get; set; }
value = chartDrawable.CrosshairPosition
chartDrawable.CrosshairPosition = value
十字架位置(表示されていない場合null)。
DrawStyle
public ChartDrawStyle DrawStyle { get; set; }
value = chartDrawable.DrawStyle
chartDrawable.DrawStyle = value
チャートの描画スタイル。
Indicators
public List<ValueTuple<IReadOnlyList<decimal?>, ChartColor, string>> Indicators { get; }
value = chartDrawable.Indicators
インジケータデータシリーズ(数値)。
Modifiers
public ModifierGroup Modifiers { get; set; }
value = chartDrawable.Modifiers
chartDrawable.Modifiers = value
修飾子の視覚を引くために修飾子のグループを得ましたりまたは置きます。
OscillatorPanes
public List<OscillatorPane> OscillatorPanes { get; }
value = chartDrawable.OscillatorPanes
Oscillator サブパネル(RSI、MACD、...)は、価格チャートの下、それぞれ独自の垂直スケールで積み上げられます。デフォルトで空にすると、チャートが直前にレンダリングされると、価格(オプションのボリューム)領域のフル高さを使用します。
Padding
public double Padding { get; set; }
value = chartDrawable.Padding
chartDrawable.Padding = value
チャートエリアを巡る
PnFData
public PnFChartData PnFData { get; set; }
value = chartDrawable.PnFData
chartDrawable.PnFData = value
ポイントと図データの取得または設定を行います。
ShowCrosshair
public bool ShowCrosshair { get; set; }
value = chartDrawable.ShowCrosshair
chartDrawable.ShowCrosshair = value
十字架を見せるかどうか。
ShowLegend
public bool ShowLegend { get; set; }
value = chartDrawable.ShowLegend
chartDrawable.ShowLegend = value
伝説を見せるかどうか。
ShowVolume
public bool ShowVolume { get; set; }
value = chartDrawable.ShowVolume
chartDrawable.ShowVolume = value
ボリュームサブプロットを表示するかどうか。
StartIndex
public int StartIndex { get; set; }
value = chartDrawable.StartIndex
chartDrawable.StartIndex = value
目に見えるキャンドルの始まりのインデックス。
Theme
public ChartTheme Theme { get; set; }
value = chartDrawable.Theme
chartDrawable.Theme = value
チャートテーマを取得または設定します。
VisibleCandleCount
public int VisibleCandleCount { get; set; }
value = chartDrawable.VisibleCandleCount
chartDrawable.VisibleCandleCount = value
ビューポートで見えるキャンドルの数。
VolumeHeightRatio
public double VolumeHeightRatio { get; set; }
value = chartDrawable.VolumeHeightRatio
chartDrawable.VolumeHeightRatio = value
容積のサブプロットの高さの比率(0.0 - 1.0)。
XAxisHeight
public double XAxisHeight { get; set; }
value = chartDrawable.XAxisHeight
chartDrawable.XAxisHeight = value
ピクセル内のX軸領域の高さ。
YAxisWidth
public double YAxisWidth { get; set; }
value = chartDrawable.YAxisWidth
chartDrawable.YAxisWidth = value
ピクセルのY軸領域の幅。
メソッド
ScreenToData
public ValueTuple<double, decimal> ScreenToData(ChartPoint screenPoint)
result = chartDrawable.ScreenToData(screenPoint)
画面ピクセルポイント(チャートローカル座標)をデータ座標に変換します。僅かなキャンドルインデックスと価格です。ポイントが価格領域外であるかフレームがまだ描画されていない場合、戻り値(NaN, 0)を返します。実際のキャンドルエリアを使用してください。従って、oscillatorサブパンが縮小したときにマッピングは正しいままになります。