Click - Bar Graph


I am trying to get one of these two to work on a bar graph so that I can pop out an annotation of the value whenever the user clicks a bar graph’s data point. Any idea what I am doing wrong? Help Please. :frowning:

sChart:(ShinobiChart *)chart toggledSelectionForSeries


sChart:(ShinobiChart *)chart toggledSelectionForPoint

Thanks so much!!! 


Hi Smashew,

Can you tell me what problem you are having? Are these methods not being fired? Have you made sure that you have set your chart’s delegate?

To enable the type of selection you want you also need to make sure that you have set each series’ selectionMode property. You can set this to  SChartSelectionSeries if you want the toggledSelectionForSeries method to called, or to  SChartSelectionPoint if you want the SChartSelectionForPoint method to be called.

Let me know how you get on!