iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

SCITranslateXyTransformationBase

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

Base implementation for translate render pass data in Y-direction 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 offset value in pixels.

    Declaration

    Objective-C

    @property (nonatomic, readonly) float offset;

    Swift

    var offset: Float { get }
  • Create new instance of SCITranslateXTransformation class.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRenderPassDataType:(nonnull Class)rpdType
                                             andOffset:(float)offset;

    Swift

    init(renderPassDataType rpdType: AnyClass, andOffset offset: Float)

    Parameters

    rpdType

    Type of associated render pass data.

    offset

    The offset value in pixels.