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

chartValueSelected on TVOS #1117

Closed
alappe opened this issue Jun 9, 2016 · 2 comments
Closed

chartValueSelected on TVOS #1117

alappe opened this issue Jun 9, 2016 · 2 comments

Comments

@alappe
Copy link

alappe commented Jun 9, 2016

Hey,

I'm trying to get the selected entry of a chart on TVOS. Since I get a cross-hair when I use the remote, I asummed that's possible, but chartValueSelected on my ChartViewDelegate doesn't get called, it seems. Is there anything else I am missing or is it not supported on TVOS?

@danielgindi
Copy link
Collaborator

If you are able to get the crosshair - it should call chartValueSelected... Please make sure that it is getting called on iOS too.
It will be pretty hard for me to complete compatibility with tvOS as I don't have one - it was done by one of the contributors :-)
I'm not even sure that there's a way to select anything...

@alappe
Copy link
Author

alappe commented Jun 13, 2016

@danielgindi Thanks for your response. Using the apple-TV variant in the simulator works pretty well and with the remote-window, one can also move the crosshair.

I again double-checked my code now, and this time i found my mistake: I didn't reference my view as the delegate of the chart, it's working now… thank you!

@alappe alappe closed this as completed Jun 13, 2016
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