iphone - Core plot : Displaying several graphs in a single page? -


am trying use core plot display several graphs in single page in iphone app. each graph refreshes every few minutes. way structure programmatically? thought have 2 graphs display in page , had 2 uiviewcontrollers (each displaying 1 graph) , added them subviews superview. now, having display 5 or 6 graphs, doubt if recommended.

adding hosting views separate graphs top-level view easiest way this. if works in app without running out of memory or affecting performance, recommended approach.

the alternative single hosting view , graph. since you'll have 1 plot area work with, you'll need adjust plot space(s) used in each subgraph data each 1 appears in appropriate section of graph. use visiblerange limit length of axes keep them separate. you'll need filter data each plot doesn't go outside desired area.


Comments