
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCINumberRange
@interface SCINumberRange : SCIRangeBase
Defines a base class for all numeric ranges.
-
Gets or sets the min value of this range.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nonnull min;
-
Gets or sets the max value of this range.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nonnull max;
-
Gets the difference (max - min) of this range.
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull diff;
-
Sets the min, max values on the
ISCIRange
.Declaration
Objective-C
- (void)setMinTo:(nonnull NSNumber *)min maxTo:(nonnull NSNumber *)max;
Parameters
min
New min value.
max
New max value.
-
Sets the min, max values on the
ISCIRange
without equals checks.Declaration
Objective-C
- (void)setForcedMinTo:(nonnull NSNumber *)min maxTo:(nonnull NSNumber *)max;
Parameters
min
New min value.
max
New max value.
-
Performs the union of two
ISCIRange
instances.Declaration
Objective-C
- (void)unionWithMin:(nonnull NSNumber *)min max:(nonnull NSNumber *)max;
Parameters
min
The min value.
max
The max value.