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

SCIThemeColorProvider

@interface SCIThemeColorProvider : NSObject <ISCIThemeProvider>

Defines a SciChart Theme color provider, which provides theme colors for SCIChartSurface.

  • Creates theme provider based on specified style.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithThemeKey:(nonnull NSString *)themeKey;

    Swift

    init(themeKey: String)

    Parameters

    themeKey

    The key of style which should be used as base for this theme provider.

  • Creates theme provider based on specified style.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithThemeKey:(nonnull NSString *)themeKey
                                  fromBundle:(nonnull NSBundle *)bundle;

    Swift

    init(themeKey: String, from bundle: Bundle)

    Parameters

    themeKey

    The key of style which should be used as base for this theme provider.

    bundle

    The bundle where .plist theme file is located.