gujjula / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

What about making legend scrollable #335

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If legend has lot of entries not all of them are visible on graph. Is there any 
way to make legend or may be cptgraph scrollable in this case

Original issue reported on code.google.com by zapli...@gmail.com on 24 Sep 2011 at 9:04

GoogleCodeExporter commented 9 years ago

Original comment by eskr...@mac.com on 21 Oct 2011 at 1:47

GoogleCodeExporter commented 9 years ago
Any pointer on how to implement this feature would be really helpful. Has 
anyone worked on this?

Original comment by akhi...@gmail.com on 14 Sep 2012 at 11:02

GoogleCodeExporter commented 9 years ago
This will require changes to CPTLegend. It needs an option to turn off the 
auto-sizing of the legend and event handling to allow the user to scroll the 
layer contents to see all of the legend entries.

Original comment by eskr...@mac.com on 15 Sep 2012 at 11:06

GoogleCodeExporter commented 9 years ago
Thanks.. but is there any way to display a scroll bar along with this, similar 
to the UIScrollView scroll bar? Or do we have to add CPTLegend to a separate 
UIScrollView to achieve this?

Original comment by akhi...@gmail.com on 25 Sep 2012 at 4:44

GoogleCodeExporter commented 9 years ago
You'll probably need to put the legend in a scroll view on top of the hosting 
view to get scrollbars. Be sure to make the views siblings (i.e., don't add 
subviews to the graph hosting view).

Original comment by eskr...@mac.com on 26 Sep 2012 at 12:41

GoogleCodeExporter commented 9 years ago
Moved to GitHub issue #14.

https://github.com/core-plot/core-plot/issues/14

Original comment by eskr...@mac.com on 29 Dec 2013 at 2:04