I am using this code for touch event but its not working
-(void)barPlot:(CPTBarPlot *)plot barWasSelectedAtRecordIndex:(NSUInteger)index
how can i add touch event in core plot or i want to show bar graph values on top of each bar.

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As per this topic in google forum, for touch event the delegate method which you are using should work. Check if the mistake is something related to setting the delegate or so. Check the
CPTestAppapplication for an example.For the second question, as mentioned here, in order to show the bar graph values on top of bar you can add simple labels by setting the
barLabelTextStyle. You can also look at the following bar plot datasource method:Again check
CPTestAppfor an example. You can use thebarLabelOffsetproperty toset the space between the ends of the bars and the labels as mentioned there.