Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Interactive pan/zooming #143

Closed
jimhester opened this issue May 8, 2014 · 3 comments
Closed

Interactive pan/zooming #143

jimhester opened this issue May 8, 2014 · 3 comments

Comments

@jimhester
Copy link
Contributor

I feel like ggvis would really benefit from supporting interactive pan and zooming ala gadfly.

Do you currently have any plans to support these types of simple interactions with ggvis, I have not seen any of this functionality in the current demos.

I would be happy to do submit on a pull request if you think it is feasable to do with vega (it does not look like it is implemented in vega currently https://github.com/trifacta/vega/issues/168).

Also I really like the new syntax, being able to use %>% in both dplyr and ggvis makes for a very nice workflow.

@hadley
Copy link
Member

hadley commented May 8, 2014

It's definitely something we want to add. I think changing the domain of vega scales would be the most natural way to do this, but they're currently static and can't be updated easily (or at least don't have a good exposed API). If you have ideas on how to implement, we'd love to hear them.

@wch
Copy link
Contributor

wch commented May 9, 2014

It is possible now to zoom and pan - if you show the zoomed and panned results in a second plot.

Before you dig to deep into the code, please bear in mind that there are major changes coming - we've been working on the new-syntax branch, which has big changes to the API, as well as a much simpler way of creating interactive components.

@hadley
Copy link
Member

hadley commented May 29, 2014

Closing now that you can supply reactives to scale domains.

@hadley hadley closed this as completed May 29, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants