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.

  • Deprecated

    Please use initWithTheme: instead

    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.

  • Deprecated

    Please use initWithTheme:fromBundle: instead

    Creates theme provider based on specified style.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTheme:(SCIChartTheme)theme;

    Swift

    init(theme: SCIChartTheme)

    Parameters

    theme

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

  • Deprecated

    Please use initWithTheme:fromBundle: instead

    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.

  • Creates theme provider based on specified style.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithTheme:(SCIChartTheme)theme
                               fromBundle:(nonnull NSBundle *)bundle;

    Swift

    init(theme: SCIChartTheme, from bundle: Bundle)

    Parameters

    theme

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

    bundle

    The bundle where .plist theme file is located.