daattali / timevis

📅 Create interactive timeline visualizations in R
http://daattali.com/shiny/timevis-demo/
Other
655 stars 157 forks source link

Feature/crosstalk (WIP) #19

Closed timelyportfolio closed 4 years ago

timelyportfolio commented 7 years ago

This represents a first pass at integrating crosstalk in timevis. I classify as a WIP since crosstalk is unstable and also I'm not sure if this fits in future plans or adheres to your coding style. For now, I tried to code such that we can avoid hard dependency on crosstalk in the DESCRIPTION.

examples

to do

daattali commented 7 years ago

Thanks for the very quick PR! I'll take a look sometime this week

daattali commented 7 years ago

It looks like docs for crosstalk are in the process of being generated? You probably know much better than I do if that's true? I just saw that http://rstudio.github.io/crosstalk/index.html went live yesterday hence my assumption. That might help me with making sense of your code since I've never played around with crosstalk yet

daattali commented 7 years ago

Regarding your point "decide how to handle added or deleted items" - is that something that isn't natural for crosstalk to deal with? Crosstalk assumes the dataframe that gets initializes is static throughout time?

timelyportfolio commented 7 years ago

Yes @daattali, there is not a built-in mechanism in crosstalk (unless @jcheng5 can tell me otherwise) to handle dynamic data. However, this can be achieved with the current API but requires custom additions.

daattali commented 5 years ago

@timelyportfolio do you think you'll come back to this at some point, or is it ok if I close this PR?

daattali commented 4 years ago

Doesn't look like this will be revived at any point. I'd still welcome a PR , but it might have to be a fresh one since so much time has passed