Coreplot on iOS. How to remove the default fill so that the chart fills the view completely without axis labels

I am trying to put 6 Coreplot diagrams on an iPad in landscape mode so that each graph has a height of 128 pixels (i.e. 768/6)

The problem I am facing is that if I set all padding to 0, the chart still has many additions around the chart on which the chart will be built.

Is there a way to remove this default padding from the chart?

Thanks in advance Damien

The pink marks in the image are the indents that I want to remove.

http://i.stack.imgur.com/nXzFv.png

or

http://s10.postimage.org/d2rl0ajsn/Image13.png


Here is a chart without a theme applied (filling is still present) I added a pink border so you can see the actual size

Here is the chart without the theme applied (The padding is still present) I added a pink border so you can see the actual size

-20.0, , .

, , .

+5
2

( ) 20 . .

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

:

, .

self.graph.plotAreaFrame.backgroundColor = [[UIColor yellowColor] CGColor];

self.graph.plotAreaFrame.paddingTop = 2.0f;
self.graph.plotAreaFrame.paddingRight = 8.0f;
self.graph.plotAreaFrame.paddingBottom = 30.0f;
self.graph.plotAreaFrame.paddingLeft = 42.0f;


self.graph.backgroundColor = [[UIColor greenColor] CGColor];

self.graph.paddingTop = 2.0f;
self.graph.paddingRight = 2.0f;
self.graph.paddingBottom = 2.0f;
self.graph.paddingLeft = 2.0f;

// Tie the graph we've created with the hosting view.
self.hostingView.hostedGraph = self.graph;
self.hostingView.backgroundColor = [UIColor redColor];
+2

All Articles