iOS Charting Documentation - SciChart iOS Charts SDK v3.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 }
  • 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 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