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

ISCIChartSurfaceBase

@protocol ISCIChartSurfaceBase <ISCIPropertyHolder, ISCIThemeable,
                                ISCIPublishEvents, ISCIView>

A base interface for SCIChartSurface and SCIPieChartSurface classes.

  • Gets the current theme applied to this SCIChartSurface.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull themeId;

    Swift

    var themeId: String { get }
  • Deprecated

    Please use backgroundBrushStyle instead

    Gets the background brush style for SCIChartSurface.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        SCIBrushStyle *_Nonnull backgoundBrushStyle;

    Swift

    var backgoundBrushStyle: SCIBrushStyle { get set }
  • Gets the background brush style for SCIChartSurface.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        SCIBrushStyle *_Nonnull backgroundBrushStyle;

    Swift

    var backgroundBrushStyle: SCIBrushStyle { get set }
  • Gets the ISCIChartModifierSurface instance for this SCIChartSurface.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic)
        id<ISCIChartModifierSurface> _Nonnull modifierSurface;

    Swift

    var modifierSurface: ISCIChartModifierSurface { get }
  • Export current chart surface into UIImage object by capturing the whole screen. It is used for taking screenshots.

    Declaration

    Objective-C

    - (nonnull UIImage *)exportToUIImage;

    Swift

    func exportToUIImage() -> UIImage
  • Export current chart surface into UIImage object by capturing a custom rectangle. It is used for taking screenshots.

    Declaration

    Objective-C

    - (nonnull UIImage *)exportUIImageWithRect:(CGRect)rect;

    Swift

    func exportUIImage(with rect: CGRect) -> UIImage