ChartIndicatorElement
インジケータを表すチャート要素。
継承元: ChartElement<ChartIndicatorElement>
実装: IChartIndicatorElement, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable
コンストラクター
public ChartIndicatorElement()
chartIndicatorElement = ChartIndicatorElement()
ChartIndicatorElement の新規インスタンスを初期化します。
プロパティ
public Color AdditionalColor { get; set; }
value = chartIndicatorElement.AdditionalColor
chartIndicatorElement.AdditionalColor = value
対応可能AdditionalColor@DefaultPainter@
public bool AntiAliasing { get; set; }
value = chartIndicatorElement.AntiAliasing
chartIndicatorElement.AntiAliasing = value
キャンドルは、スムース(デフォルトで有効)レンダリングします。
public bool AutoAssignYAxis { get; set; }
value = chartIndicatorElement.AutoAssignYAxis
chartIndicatorElement.AutoAssignYAxis = value
要素がチャートに追加されると、Y軸を自動割り当てます。
public Color Color { get; set; }
value = chartIndicatorElement.Color
chartIndicatorElement.Color = value
DefaultPainter@ のカラーの互換性プロパティ.
public DrawStyles DrawStyle { get; set; }
value = chartIndicatorElement.DrawStyle
chartIndicatorElement.DrawStyle = value
キャンドルのレンダリングのスタイル。
public ControlTemplate DrawTemplate { get; set; }
value = chartIndicatorElement.DrawTemplate
chartIndicatorElement.DrawTemplate = value
対応可能DrawTemplate@DefaultPainter@
public IChartIndicatorPainter IndicatorPainter { get; set; }
value = chartIndicatorElement.IndicatorPainter
chartIndicatorElement.IndicatorPainter = value
インジケータレンダラー。
public bool ShowAxisMarker { get; set; }
value = chartIndicatorElement.ShowAxisMarker
chartIndicatorElement.ShowAxisMarker = value
Y軸マーカーを表示します。
public int StrokeThickness { get; set; }
value = chartIndicatorElement.StrokeThickness
chartIndicatorElement.StrokeThickness = value
線幅(バーまたはボーダー)、そのキャンドルがチャート上に描画されます。
メソッド
protected override ChartIndicatorElement CreateClone()
result = chartIndicatorElement.CreateClone()
クローンオブジェクト(非初期化)を作成します。
戻り値: 戦略
protected override string GetGeneratedTitle()
result = chartIndicatorElement.GetGeneratedTitle()
生成されたタイトルを取得します。
戻り値: チャート要素のタイトルを自動生成します。
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.
戻り値: A task that represents the asynchronous load operation.
protected override bool OnDraw(ChartDrawData data)
result = chartIndicatorElement.OnDraw(data)
根本要素を描画します。
- data
- 描画データをチャート化します。
戻り値: データを正常に描画した場合は、それ以外の場合は、 を返します。
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.
戻り値: A task that represents the asynchronous save operation.
public override string ToString()
result = chartIndicatorElement.ToString()
ライン表現に換算します。
戻り値: 弦のパフォーマンス。