Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2014
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. graph.plotAreaFrame.borderLineStyle = nil; // don't draw a border
  2.  
  3. CPLineStyle *borderLineStyle = [CPLineStyle lineStyle];
  4. borderLineStyle.lineColor = [CPColor whiteColor];
  5. borderLineStyle.lineWidth = 1.0;
  6.  
  7. graph.plotArea.borderLineStyle = borderLineStyle;
  8.  
  9. graph.paddingLeft = 0;
  10. graph.paddingRight = 0;
  11. graph.paddingTop = 0;
  12. graph.paddingBottom = 0;
  13. graph.plotAreaFrame.borderWidth = 0;
  14. graph.plotAreaFrame.cornerRadius = 0;
  15.  
  16. graph.plotAreaFrame.borderLineStyle = nil;
  17.  
  18. CPTGraph *graph = [[CPTXYGraph alloc] initWithFrame:hostView.bounds];
  19.  
  20. // Set padding for plot area
  21. [graph applyTheme:[CPTTheme themeNamed:kCPTPlainWhiteTheme]];
  22. graph.plotAreaFrame.borderLineStyle = nil;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement