Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Outer margin in a CorePlot graph

Does anybody know how to get rid of the outer margin of the plot area frame in a CorePlot graph? I don't have too much available space in my iPhone app for displaying it so I would like the plot area frame to match the whole view dimensions.

enter image description here

taking in consideration: enter image description here

Modifying the padding doesn't affect the outer margins but the internal ones. Any suggestion would be really appreciated!

thanks a lot!

Claus

like image 858
Claus Avatar asked Dec 17 '22 02:12

Claus


1 Answers

Which padding did you change? This should enlarge the plot area frame to fill the space:

graph.paddingLeft = 0.0;
graph.paddingTop = 0.0;
graph.paddingRight = 0.0;
graph.paddingBottom = 0.0;

Eric

like image 134
Eric Skroch Avatar answered Mar 08 '23 09:03

Eric Skroch