Core Plot Custom Themes in iPhone
CPTheme *theme = [CPTheme themeNamed:kCPPlainWhiteTheme];
graph = (CPXYGraph *)[theme newGraph];
graph.fill = [CPFill fillWithColor:[CPColor clearColor]];
graph.plotAreaFrame.fill = [CPFill fillWithColor:[CPColor clearColor]];
You can apply following Themes in Core Plot
themeNamed:kCPPlainWhiteTheme
themeNamed:kCPTDarkGradientTheme
themeNamed:kCPTPlainBlackTheme
themeNamed:kCPTSlateTheme
themeNamed:kCPTStocksTheme
themeNamed:kCPTDarkGradientTheme
themeNamed:kCPTPlainBlackTheme
themeNamed:kCPTSlateTheme
themeNamed:kCPTStocksTheme
No comments:
Post a Comment