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

How to make Radar five top angle tap enabled? #1735

Closed
jidanyu opened this issue Oct 28, 2016 · 1 comment
Closed

How to make Radar five top angle tap enabled? #1735

jidanyu opened this issue Oct 28, 2016 · 1 comment

Comments

@jidanyu
Copy link

jidanyu commented Oct 28, 2016

in Charts 2.3.0.I use chartView.getMarkerPosition get the Radar five top angle (x,y)position(I,pass five chartView.yAxis.axisMaximum as param) ,then add five UIButton ,so ,I can tap them.
in Charts 3.0 ,Pie/radar charts do not have a concept of X index anymore. What can I do ? How can I make "Party A""Party B"...tap enabled?

fa45786d-0fd8-470e-a906-5e9987268ad2

@liuxuan30
Copy link
Member

liuxuan30 commented Oct 31, 2016

you could look at the tap gesture handler to add your hook I guess. Then have some logic to get the closest angle you want.

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