ChartLineElement

StockSharp.Xaml.Charting

線を表すグラフ要素。

継承元: ChartElement<ChartLineElement>

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

コンストラクター

ChartLineElement
public ChartLineElement()
chartLineElement = ChartLineElement()

ChartLineElement の新規インスタンスを初期化します。

プロパティ

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

チャート上に描画される線色(カンドルなど)を追加。

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

線の描画の反エイリアシング。デフォルトは有効です。

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

線色(カニケ等)、チャート上に描画される線色(カニケ等)

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

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

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

ドットスタイルDrawStyles@のチャートテンプレート。

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

Y軸マーカーを表示します。

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

チャート上に描画される行(バーなど)の厚さ。 デフォルトは1です。

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

線描画スタイル。デフォルトは行です。

メソッド

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

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

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

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

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

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

戻り値: Task

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

根本要素を描画します。

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

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

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

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

戻り値: Task