AxisCollection
StockSharp.Xaml.Charting
軸のコレクションを含んだり、Id で軸線の獲得が可能
継承元: ObservableCollection<IAxis>
実装: IXmlSerializable
コンストラクター
AxisCollection
public AxisCollection()
axisCollection = AxisCollection()
AxisCollectionクラスの新しいインスタンスを初期化します。
AxisCollection
public AxisCollection(IEnumerable<IAxis> collection)
axisCollection = AxisCollection(collection)
AxisCollectionクラスの新しいインスタンスを初期化します。
- collection
- 収集する。
プロパティ
Default
public IAxis Default { get; }
value = axisCollection.Default
デフォルト軸を取得する。DefaultAxisIdと 軸と等しい。
HasPrimaryAxis
protected bool HasPrimaryAxis { get; }
value = axisCollection.HasPrimaryAxis
コレクションの軸のどれかがIsPrimaryAxisにtrueをセットすれば、trueを戻して下さい
PrimaryAxis
protected IAxis PrimaryAxis { get; }
value = axisCollection.PrimaryAxis
収集中の主軸を取得します。これは、IsPrimaryAxisが真に設定されているか、または、存在しない場合に null を持つ最初のものです。
メソッド
GetAxisById
public IAxis GetAxisById(string axisId, bool assertAxisExists)
result = axisCollection.GetAxisById(axisId, assertAxisExists)
Id で指定された軸を取得する、その他の null
- axisId
- 軸識別子。
- assertAxisExists
- もし真のアサートに設定して、軸が存在しないとスローすると。
GetSchema
public XmlSchema GetSchema()
result = axisCollection.GetSchema()
WriteXmlメソッドで生成されたオブジェクトのXML表現を記述し、ReadXmlメソッドで消費するXMLをReadXmlメソッドで返します。
ReadXml
public virtual void ReadXml(XmlReader reader)
axisCollection.ReadXml(reader)
XML 表現から AxisCollection を生成します。
- reader
WriteXml
public virtual void WriteXml(XmlWriter writer)
axisCollection.WriteXml(writer)
AxisCollectionをXML表現に変換します。
- writer