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

Smooth transitions #547

Closed
wants to merge 5 commits into from
Closed

Smooth transitions #547

wants to merge 5 commits into from

Conversation

cpsievert
Copy link
Collaborator

For some reason, transitions are currently grayed out:

tour

I'm guessing we need to use something akin to Shiny.addCustomMessageHandler like ggvis does in order for the client to process messages in a logical order

Any experience with this sort of thing @timelyportfolio?

@cpsievert
Copy link
Collaborator Author

FWIW, the graying out isn't an issue when the duration is 0, but it'd be nice to avoid the graying out for any duration level:

tour

@timelyportfolio
Copy link
Collaborator

I really like this concept, but I think pursuing this on the R side might be dangerous long-term. Has there been any discussion on the JavaScript side to handle transitions in any of the re- Plotly functions?

@cpsievert
Copy link
Collaborator Author

I agree. This is mostly for my own use/education. I also hope it provides some motivation to provide some more official support in plotly.js. Here is the only issue I can find on the matter plotly/plotly.js#142

I really like the way Vega approaches this https://github.com/vega/vega/wiki/Streaming-Data

@cpsievert
Copy link
Collaborator Author

This probably won't see the light of day since plotly.js will likely be developing an .animate() method -- plotly/plotly.js#550

Nevertheless, if might be useful to come back to some of these ideas...

@cpsievert
Copy link
Collaborator Author

Closing as plotly.js now has an animate method -- http://rickyreusser.com/animation-experiments/

@cpsievert cpsievert closed this Sep 27, 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

Successfully merging this pull request may close these issues.

2 participants