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

SCIGenericMathFactory

@interface SCIGenericMathFactory : NSObject

Defines generic ISCIMath factory.

  • Provides the ISCIMath implementation for byte values.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) id<ISCIMath> _Nonnull byteMath;
  • Provides the ISCIMath implementation for byte values.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) id<ISCIMath> _Nonnull shortMath;
  • Provides the ISCIMath implementation for int values.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) id<ISCIMath> _Nonnull intMath;
  • Provides the ISCIMath implementation for long values.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) id<ISCIMath> _Nonnull longMath;
  • Provides the ISCIMath implementation for float values.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) id<ISCIMath> _Nonnull floatMath;
  • Provides the ISCIMath implementation for double values.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) id<ISCIMath> _Nonnull doubleMath;
  • Provides the ISCIMath implementation for NSDate values.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) id<ISCIMath> _Nonnull dateMath;
  • Tries to acquire ISCIMath for specified data type.

    Declaration

    Objective-C

    + (nonnull id<ISCIMath>)create:(SCIDataType)dataType;

    Parameters

    dataType

    The target data type.

    Return Value

    The new math instance for spesified SCIDataType.