Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continuing the last closed #695 #700

Closed
wganeshb opened this issue Jan 22, 2016 · 1 comment
Closed

Continuing the last closed #695 #700

wganeshb opened this issue Jan 22, 2016 · 1 comment

Comments

@wganeshb
Copy link

@liuxuan30 Thank you very much for the quick reply.

I checked all the above scenarios. They are at its place ok. Also I checked ChartsDemo project. There delegate method is called perfectly.

I tried these steps.

  1. I directly drag and dropped the files "PieChartViewController.xib", "PieChartViewController.h", "PieChartViewController.m". from ChartsDemo project.
  2. I used this pie chart as it is.

It shows the graph perfectly. But still not go in the delegate method.

I tried 3rd hint from you. That control goes in that method. as shown in screen shot.

screen shot 2016-01-22 at 11 57 47 am

I really need this to be done. I am really not getting what is the exact issue.

Any suggestion are highly appreciated.

@liuxuan30
Copy link
Member

Please reply on the closed issues, don't open a new one for a follow up. I just close it because it's easy to track unsure issues. I will update closed issues as well as long as there is update.

First of all, you should know or learn how to debug and read the code. Code tells you everything. We can't teach a debug lesson here, there are many on google.

Now you have break at the gesture handler, which means the pie chart detect your touch. You can add more break points at self.highlightValue(highlight: nil, callDelegate: true) // call delegate, or step by step debug to see why self.highlightValue(highlight: nil, callDelegate: true) not being called. You can also directly add break pint inside highlightValue to see if it's getting called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants