AxisCollection
StockSharp.Xaml.Charting
Contains a collection of Axes and allows getting of axis by Id
Erbt von: ObservableCollection<IAxis>
Implementiert: IXmlSerializable
Konstruktoren
AxisCollection()
Initializes a new instance of the AxisCollection class.
AxisCollection(IEnumerable<IAxis>)
Initializes a new instance of the AxisCollection class.
- collection
- The collection.
Eigenschaften
HasPrimaryAxis : bool
Returns true if any of the Axes in the collection have IsPrimaryAxis set to true
PrimaryAxis : IAxis
Gets the primary axis in the collection. This is the first that has IsPrimaryAxis set to true, or null if none exists.
Methoden
GetAxisById(string, bool) : IAxis
Gets the axis specified by Id, else null
- axisId
- The axis identifier.
- assertAxisExists
- if set to true assert and throw if the axis does not exist.