iOS Charting Documentation - SciChart iOS Charts SDK v3.x

SCIScaleTransformationBase

@interface SCIScaleTransformationBase<
    __covariant T : SCIXSeriesRenderPassData *>
    : SCIBaseRenderPassDataTransformation <T>

Base implementation for scale render pass data transformations within SciChart.

Note

T is the type of associated ISCISeriesRenderPassData.

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 (readonly, nonatomic) 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.