
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCITransformationHelpers
@interface SCITransformationHelpers : NSObject
Defines a helper methods to manipulate with SCIFloatValues
.
-
Copies
SCIFloatValues
from a Source to a Destination.Declaration
Objective-C
+ (void)copyDataFromSource:(nonnull SCIFloatValues *)source toDest:(nonnull SCIFloatValues *)dest;
Parameters
source
The values that will be copied.
dest
The destination that will contain copied values.
-
Offsets
SCIFloatValues
based on Zero Line.Declaration
Objective-C
+ (void)offsetData:(nonnull SCIFloatValues *)data relativeToZeroLine:(float)zeroLine;
Parameters
data
The values to transform.
zeroLine
The Zero Line value.
-
Offsets
SCIFloatValues
based on Offset value.Declaration
Objective-C
+ (void)offsetData:(nonnull SCIFloatValues *)data byOffset:(float)offset;
Parameters
data
The values to transform.
offset
The Offset value.
-
Fills
SCIFloatValues
with the Repeated value.Declaration
Objective-C
+ (void)fillData:(nonnull SCIFloatValues *)data withValue:(float)value;
Parameters
data
The values to fill.
value
The Repeated value.
-
Offsets
SCIFloatValues
based on Scale value.Declaration
Objective-C
+ (void)offsetData:(nonnull SCIFloatValues *)data fromSource:(nonnull SCIFloatValues *)source byScale:(float)scale;
Parameters
data
The values to transform.
scale
The Scale value.