Reputation: 91
I'm trying to change the theme of my graph .
My code is :
graph = [[CPTXYGraph alloc] initWithFrame:CGRectZero];
graph.plotAreaFrame.borderLineStyle = nil;
I thought by doing this that the border of the graph would disappear. But it didn't .
Who can tell me why?
Upvotes: 0
Views: 313
Reputation: 27381
Several parts of the graph can have border lines. Try these as well:
graph.borderLineStyle = nil;
graph.plotAreaFrame.plotArea.borderLineStyle = nil;
Upvotes: 1