ChartBandElement

StockSharp.Xaml.Charting

バンドを代表するチャート要素。

継承元: ChartElement<ChartBandElement>

実装: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable, IChartBandElement

コンストラクター

ChartBandElement
public ChartBandElement()
chartBandElement = ChartBandElement()

インスタンスを作成します。

プロパティ

DrawnPoints
internal IReadOnlyList<ChartDrawnPoint> DrawnPoints { get; }
value = chartBandElement.DrawnPoints

The points the element has drawn, in the order of the horizontal axis; none before it has been placed on an area.

Line1
public ChartLineElement Line1 { get; }
value = chartBandElement.Line1

ライン1。

Line2
public ChartLineElement Line2 { get; }
value = chartBandElement.Line2

ライン2。

Style
public DrawStyles Style { get; set; }
value = chartBandElement.Style
chartBandElement.Style = value

バンド描画スタイル。デフォルトはバンドです。BandOneValue も構いません。

メソッド

CheckAxesCompatible
public override bool CheckAxesCompatible(ChartAxisType? xType, ChartAxisType? yType)
result = chartBandElement.CheckAxesCompatible(xType, yType)

与えられた軸線タイプを使って要素を描画できるかどうかを確認してください。

xType
X軸タイプ。
yType
Y軸タイプ。

戻り値: 供給されたタイプがサポートされている場合。

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

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

戻り値: Task

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

根本要素を描画します。

data
描画データをチャート化します。

戻り値: データを正常に描画した場合は、それ以外の場合は、 を返します。

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

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

戻り値: Task