Skip to content

Smooth transitions - #547

Closed
cpsievert wants to merge 5 commits into
masterfrom
feature/transition
Closed

cpsievert wants to merge 5 commits into
masterfrom
feature/transition

Conversation

@cpsievert

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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