Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTMutablePlotRange.h
Go to the documentation of this file.
1 #import "CPTPlotRange.h"
2 
4 
7 @property (nonatomic, readwrite, strong, nonnull) NSNumber *location;
8 @property (nonatomic, readwrite, strong, nonnull) NSNumber *length;
9 @property (nonatomic, readwrite) NSDecimal locationDecimal;
10 @property (nonatomic, readwrite) NSDecimal lengthDecimal;
11 @property (nonatomic, readwrite) double locationDouble;
12 @property (nonatomic, readwrite) double lengthDouble;
14 
17 -(void)unionPlotRange:(nullable CPTPlotRange *)otherRange;
18 -(void)intersectionPlotRange:(nullable CPTPlotRange *)otherRange;
20 
23 -(void)shiftLocationToFitInRange:(nonnull CPTPlotRange *)otherRange;
24 -(void)shiftEndToFitInRange:(nonnull CPTPlotRange *)otherRange;
26 
29 -(void)expandRangeByFactor:(nonnull NSNumber *)factor;
31 
32 @end
CPTMutablePlotRange::locationDecimal
NSDecimal locationDecimal
The starting value of the range.
Definition: CPTMutablePlotRange.h:9
NSNumber
CPTPlotRange.h
CPTMutablePlotRange::location
NSNumber * location
The starting value of the range.
Definition: CPTMutablePlotRange.h:7
CPTPlotRange
Defines an immutable range of plot data.
Definition: CPTPlotRange.h:27
CPTMutablePlotRange::lengthDecimal
NSDecimal lengthDecimal
The length of the range.
Definition: CPTMutablePlotRange.h:10
CPTMutablePlotRange::length
NSNumber * length
The length of the range.
Definition: CPTMutablePlotRange.h:8
CPTMutablePlotRange::locationDouble
double locationDouble
The starting value of the range as a double.
Definition: CPTMutablePlotRange.h:11
CPTMutablePlotRange::lengthDouble
double lengthDouble
The length of the range as a double.
Definition: CPTMutablePlotRange.h:12
CPTMutablePlotRange
Defines a mutable range of plot data.
Definition: CPTMutablePlotRange.h:4