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

SCIWaveTransformationBase

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

Base implementation for wave 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 (nonatomic, readonly) float zeroLineCoordinate;

    Swift

    var zeroLineCoordinate: Float { get }
  • Create new instance of SCIWaveTransformationBase class.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRenderPassDataType:(nonnull Class)rpdType
                                              zeroLine:(double)zeroLine
                                     andDurationOfStep:(float)durationOfStepData;

    Swift

    init(renderPassDataType rpdType: AnyClass, zeroLine: Double, andDurationOfStep durationOfStepData: Float)

    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.

    durationOfStepData

    Wave duration before next point is started to animate. Default is 0.5.