Shinobi Pie Chart as part of Carousel


#1

I have a carousel with dynamically created pie chart.  For the chart I have enabled interactivity using the link http://www.shinobicontrols.com/blog/posts/2012/09/10/the-making-of-a-legend.   This interactivity works fine in a regular view but not when the view is added in the carousel.  Is this supported?  If yes how? 


#2

Hi,

The problem your encountering is that a carousel needs to handle gestures itself so that it can determine when to scroll as per the user interaction. Therefore the touches are not reaching the gesture recognisers associated with the chart itself.

The difficulty is determining exactly how the touches should interact between the chart and the carousel. If you can determine this, then you can get hold of the gesture recognisers used in the carousel and the chart, and implement their delegates to specify how they should interact. I would expect that determining this fact will be non-trivial though.

sam