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

SCIChartSurfaceBase

@interface SCIChartSurfaceBase : SCILayoutableView <ISCIChartSurfaceBase>

An abstract base class containing shared code between different implementations of SCIChartSurface.

  • Provides a way to set backgroundColor on this surface inistance.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) UIColor *backgroundColor;

    Swift

    @NSCopying var backgroundColor: UIColor? { get set }
  • Defines the current theme applied to this SCIChartSurfaceBase.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSString *themeId;

    Swift

    var themeId: String! { get set }
  • Used to show/hide performance watermark in Simulator.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, class)
        BOOL isSimulatorPerformanceWatermarkHidden;

    Swift

    class var isSimulatorPerformanceWatermarkHidden: Bool { get set }