iphone - ios : unable to make core plot graph smaller -
am trying plot line chart in iphone app using core plot. unable draw graph small size in iphone screen. have set in storyboard (actually want smaller this, since want fit 2 graphs in screen, minimum size started showing plots, though showing 2 plot out of 5)
and getting displayed in phone
i removed padding graph & tried, in vain.
in above scenario, have set padding to:
self.graph.plotareaframe.paddingbottom = 2.0; self.graph.plotareaframe.paddingtop = 2.0; self.graph.plotareaframe.paddingleft = 2.0; self.graph.plotareaframe.paddingright = 2.0;
and have set graph hosting view's bounds bounds of view in storyboard.
kindly help. think should possible draw small graph, not sure why not allowing it. setting wrong?
i increased yrange (plotspace.yrange) , worked! shows 5 data plots.
Comments
Post a Comment