iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIScaleTransformationBase
@interface SCIScaleTransformationBase<
__covariant T : SCIXSeriesRenderPassData *>
: SCIBaseRenderPassDataTransformation <T>
Base implementation for scale render pass data transformations within SciChart.
Note
This base class and inheritors are used for animations purposes. You can use it to just transform render pass data, it’s not recommended though.-
Defines the value which determines the zero line in
Y-direction
, from which scaling will be performed.Declaration
Objective-C
@property (nonatomic, readonly) float zeroLineCoordinate;
Swift
var zeroLineCoordinate: Float { get }
-
Create new instance of
SCIScaleTransformationBase
class.Declaration
Objective-C
- (nonnull instancetype)initWithRenderPassDataType:(nonnull Class)rpdType andZeroLine:(double)zeroLine;
Swift
init(renderPassDataType rpdType: AnyClass, andZeroLine zeroLine: Double)
Parameters
rpdType
Type of associated render pass data.
zeroLine
Data value which determines the zero line in
Y-direction
, from which scaling will be performed.