
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIPoint2DSeries
@interface SCIPoint2DSeries : NSObject <ISCICleanable>
Defines a strongly typed PointSeries of Point2D
items, a subset of X, Y
data used to resample points.
-
Gets the collection of
X-Values
.Declaration
Objective-C
@property (nonatomic, strong, readonly) SCIDoubleValues *_Nonnull xValues;
-
Gets the collection of
Y-Values
.Declaration
Objective-C
@property (nonatomic, strong, readonly) SCIDoubleValues *_Nonnull yValues;
-
Defines the collection of
indices
.Declaration
Objective-C
@property (nonatomic, strong, readonly) SCIIntegerValues *_Nonnull indices;
-
Gets or sets the current count of this point series instance.
Declaration
Objective-C
@property (nonatomic) NSInteger count;
-
Creates a new instance of
SCIPoint2DSeries
.Declaration
Objective-C
- (nonnull instancetype)initWithSize:(NSInteger)size;
Parameters
size
The initial capacity of this
SCIPoint2DSeries
instance. -
Creates a new instance of
SCIPoint2DSeries
.Declaration
Objective-C
- (nonnull instancetype)initWithXValues:(nonnull SCIDoubleValues *)xValues yValues:(nonnull SCIDoubleValues *)yValues indices:(nonnull SCIIntegerValues *)indices;
Parameters
xValues
The collection of
x-values
.yValues
The collection of
y-values
.indices
The collection of
indices
. -
Clears and disposes allocated memory
Declaration
Objective-C
- (void)disposeItems;