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

Mobile app usage #447

Open
UCKFA opened this issue Feb 29, 2016 · 5 comments
Open

Mobile app usage #447

UCKFA opened this issue Feb 29, 2016 · 5 comments

Comments

@UCKFA
Copy link

UCKFA commented Feb 29, 2016

Hello again,

I have a new issue. The chart cannot be controlled on a mobile app. I have made zooming possible by adding a bar that specifies the zoom level, but panning doesn't work. It tries to take the whole page left/right. On v1, the zoom/pan were working great. Just give me a hint on how can I make it work and I will implement it.

Thank you.

@chaosmail
Copy link
Contributor

Hi @UCKFA
could you provide a Codepen to illustrate your issue and your progress on how you solved it. This would make it much easier to find a solution. Thanks a lot!
Best,
Christoph

@wasper1
Copy link

wasper1 commented Jun 28, 2016

@chaosmail Panning/zooming doesn't work because touch* events are not applied to chart. Now it supports only mouse* events.

@lorem--ipsum
Copy link
Member

Yeah that's because the panning/zooming components are homemade and they don't use d3's original ones (for actual reasons, I wouldn't go and implement this just out of boredom ^^). I think it doesn't require a lot of work to actually support touch events, but I don't have a tablet right now... PR's welcome !

@wasper1
Copy link

wasper1 commented Aug 21, 2016

I've implemented touches. I will contribute if only i find time

@wasper1
Copy link

wasper1 commented Oct 23, 2016

PR for tooltip, pan, double touch #527

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

No branches or pull requests

4 participants