
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:
insteadCreates theme provider based on specified style.
Declaration
Objective-C
- (nonnull instancetype)initWithThemeKey:(nonnull NSString *)themeKey;
Parameters
themeKey
The key of style which should be used as base for this theme provider.
-
Deprecated
Please use
initWithTheme:fromBundle:
insteadCreates theme provider based on specified style.
Declaration
Objective-C
- (nonnull instancetype)initWithTheme:(SCIChartTheme)theme;
Parameters
theme
The theme which should be used as base for this theme provider.
-
Deprecated
Please use
initWithTheme:fromBundle:
insteadCreates theme provider based on specified style.
Declaration
Objective-C
- (nonnull instancetype)initWithThemeKey:(nonnull NSString *)themeKey fromBundle:(nonnull NSBundle *)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;
Parameters
theme
The theme which should be used as base for this theme provider.
bundle
The bundle where .plist theme file is located.