AxisCollection
StockSharp.Xaml.Charting
Contains a collection of Axes and allows getting of axis by Id
Hereda de: ObservableCollection<IAxis>
Implementa: IXmlSerializable
Constructores
AxisCollection()
Initializes a new instance of the AxisCollection class.
AxisCollection(IEnumerable<IAxis>)
Initializes a new instance of the AxisCollection class.
- collection
- The collection.
Propiedades
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.
Métodos
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.