iOS Charting Documentation - SciChart iOS Charts SDK v3.x

SCIChartSurface

@interface SCIChartSurface : SCIChartSurfaceBase <ISCIChartSurface>

Provides a high performance chart surface with a single ISCIRenderSurface viewport for rendering multiple ISCIRenderableSeries, X and Y ISCIAxis instances, and where each ISCIRenderableSeries may have a ISCIDataSeries data source. The SCIChartSurface may have zero or many ISCIAnnotation and may have ISCIChartModifier to enable interaction with the chart.

Note

Where many ISCIChartModifier are used, you may use a SCIModifierGroup to group them.
  • Provides a way to set backgroundColor on this surface inistance.

    Declaration

    Objective-C

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

    Swift

    @NSCopying var backgroundColor: UIColor? { get set }
  • Defines a flag indicating whether SciChart should output rendering exceptions and Why Scichart Doesn't Render reasons to the Debug Console. Default is YES.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL debugWhySciChartDoesntRender;

    Swift

    var debugWhySciChartDoesntRender: Bool { get set }
  • Apply the runtime license key.

    Declaration

    Objective-C

    + (void)setRuntimeLicenseKey:(nonnull NSString *)key;

    Swift

    class func setRuntimeLicenseKey(_ key: String)

    Parameters

    key

    The license key.