Constructs a new DateTimeScale using the specified boundaries.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ bounds As DateTime(), _ specialBins As SpecialBins _ ) |
| C# |
|---|
public DateTimeScale ( DateTime[] bounds, SpecialBins specialBins ) |
| C++ |
|---|
public: DateTimeScale ( array<DateTime>^ bounds, SpecialBins specialBins ) |
Parameters
- bounds ()
- A DateTime array that specifies the boundaries of the intervals.
- specialBins (Extreme.Statistics.SpecialBins)
- A SpecialBins value that specifies which special bins, if any, to include in the scale.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | bounds is nullNothingnullptr. |
| ArgumentException | The elements of bounds are not in ascending order. |