Showing posts with label Graph. Show all posts
Showing posts with label Graph. Show all posts

Tuesday, October 23, 2012

Core Plot Custom Themes in iPhone

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