ChartElement

StockSharp.Xaml.Charting

チャート要素(インジケーター、キャンドルなど)を記述するベースクラス。

継承元: ChartPart<T>

実装: IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable

プロパティ

ChartArea
public IChartArea ChartArea { get; private set; }
value = chartElement.ChartArea
chartElement.ChartArea = value

チャートエリア。

ChildElements
public IEnumerable<IChartElement> ChildElements { get; }
value = chartElement.ChildElements

チャイルドチャート要素。

Colorer
public Func<IComparable, Color?> Colorer { get; set; }
value = chartElement.Colorer
chartElement.Colorer = value

カスタム要素カラーラー。

FullTitle
public string FullTitle { get; set; }
value = chartElement.FullTitle
chartElement.FullTitle = value

完全なシリーズタイトル。このプロパティが未定義の場合、代わりに自動生成されたタイトルが使用されます。

IsLegend
public bool IsLegend { get; set; }
value = chartElement.IsLegend
chartElement.IsLegend = value

この要素が凡例に表示されるべき。

IsVisible
public bool IsVisible { get; set; }
value = chartElement.IsVisible
chartElement.IsVisible = value

ショー/非表示の注釈。

ParentElement
public IChartElement ParentElement { get; }
value = chartElement.ParentElement

親チャート要素。

Priority
protected virtual int Priority { get; }
value = chartElement.Priority
XAxisId
public string XAxisId { get; set; }
value = chartElement.XAxisId
chartElement.XAxisId = value

X軸。

YAxisId
public string YAxisId { get; set; }
value = chartElement.YAxisId
chartElement.YAxisId = value

Y軸。

メソッド

AddChildElement
protected internal void AddChildElement(IChartElement element, bool dontDraw)
chartElement.AddChildElement(element, dontDraw)

子チャート要素を追加します。

element
dontDraw
対応するチャート要素を作成しないでください。ネストされた要素に使用されます。
CheckAxesCompatible
public virtual bool CheckAxesCompatible(ChartAxisType? xType, ChartAxisType? yType)
result = chartElement.CheckAxesCompatible(xType, yType)

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

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

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

Clone
public sealed override T Clone()
result = chartElement.Clone()

コピーの作成ChartElement

戻り値: コピー

CopyTo
internal override T CopyTo(T elem)
result = chartElement.CopyTo(elem)

メッセージをコピーする

elem
Copy.

戻り値: Copy.

CreateClone
protected virtual T CreateClone()
result = chartElement.CreateClone()

クローンを作成するが、フィールド/プロパティを埋めることはありません。

GetGeneratedTitle
protected virtual string GetGeneratedTitle()
result = chartElement.GetGeneratedTitle()

生成されたタイトルを取得します。

戻り値: チャート要素のタイトルを自動生成します。

Load
public override void Load(SettingsStorage storage)
chartElement.Load(storage)

設定をロードします。

storage
設定ストレージ。
OnDraw
protected abstract bool OnDraw(ChartDrawData data)
result = chartElement.OnDraw(data)

根本要素を描画します。

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

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

OnReset
protected virtual void OnReset()
chartElement.OnReset()

要素をリセットします。

RemoveChildElement
protected internal void RemoveChildElement(IChartElement element)
chartElement.RemoveChildElement(element)

子チャート要素を削除します。

Save
public override void Save(SettingsStorage storage)
chartElement.Save(storage)

設定を保存します。

storage
設定ストレージ。