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

getValuesByTouchPoint / UIView coords to graph coords #3474

Closed
XReyRobert opened this issue May 30, 2018 · 1 comment
Closed

getValuesByTouchPoint / UIView coords to graph coords #3474

XReyRobert opened this issue May 30, 2018 · 1 comment

Comments

@XReyRobert
Copy link

Hi,
It seems that in the android version there are functions to go from chart coords to view coords and the opposite. I can't find equivalent functions in the ios version.

Highlight got xPx and yPx properties that allows to go from highlight coords to view coords, but I can't find a way to go from view coords to graph coords...

Anyone with some hints about how this could be achieved ?

@liuxuan30
Copy link
Member

I have replied in the other post. Just look at ChartTransformer and ViewPortHandler.

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