iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIBaseGridDataSeries3D
@interface SCIBaseGridDataSeries3D
: SCIDataSeries3D <ISCIGridDataSeries3DValues>
Defines a base class for 3D GridDataSeries.
-
Gets the
SCIIndexCalculatorwhich is used to map indices.Declaration
Objective-C
@property (nonatomic, readonly) SCIIndexCalculator *_Nonnull indexCalculator;Swift
var indexCalculator: SCIIndexCalculator { get } -
Creates a new
BaseGridDataSeries3Dinstance.Declaration
Objective-C
- (nonnull instancetype)initWithXType:(SCIDataType)xType yType:(SCIDataType)yType zType:(SCIDataType)zType xSize:(NSInteger)xSize zSize:(NSInteger)zSize;Swift
init(xType: SCIDataType, yType: SCIDataType, zType: SCIDataType, xSize: Int, zSize: Int)Parameters
xTypeThe type of
X-Data.yTypeThe type of
Y-Data.zTypeThe type of
Z-Data.xSizeThe size of the X.
zSizeThe size of the Z.
-
Updates Y values at specified position.
Declaration
Objective-C
- (void)updateYValue:(nonnull id<ISCIComparable>)yValue atXIndex:(NSInteger)xIndex zIndex:(NSInteger)zIndex;Parameters
yValueThe new yValue.
xIndexThe xIndex of point to update.
zIndexThe zIndex of point to update.
-
Pushes a row into the data series, which discards one old row in a First In First Out fashion. use this method to scroll the SCIGridData in the Z-direction.
Declaration
Objective-C
- (void)pushArrayRow:(nonnull NSArray<id<ISCIComparable>> *)array;Parameters
arrayThe row with new values.
-
Pushes a row into the data series, which discards one old row in a First In First Out fashion. use this method to scroll the SCIGridData in the Z-direction.
Declaration
Objective-C
- (void)pushValuesRow:(nonnull id<ISCIValues>)values;Swift
func push(_ values: any ISCIValues)Parameters
valuesThe row with new values.
-
Sets the row at the specified Z index.
Declaration
Objective-C
- (void)setArrayRow:(nonnull NSArray<id<ISCIComparable>> *)row at:(NSInteger)index;Parameters
indexThe z-index to use.
rowThe row with new values.
-
Sets the row at the specified Z index.
Declaration
Objective-C
- (void)setValuesRow:(nonnull id<ISCIValues>)row at:(NSInteger)index;Swift
func set(_ row: any ISCIValues, at index: Int)Parameters
indexThe z-index to use.
rowThe row with new values.
-
Copies array to this instance.
Declaration
Objective-C
- (void)copyFromArray:(nonnull NSArray<id<ISCIComparable>> *)array;Parameters
arrayThe array to copy from.
-
Copies values to this instance.
Declaration
Objective-C
- (void)copyFromValues:(nonnull id<ISCIValues>)values;Swift
func copy(from values: any ISCIValues)Parameters
valuesValues to copy from.
View on GitHub