{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/plotly/issues/554","repository_url":"https://api.github.com/repos/ropensci/plotly","labels_url":"https://api.github.com/repos/ropensci/plotly/issues/554/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/plotly/issues/554/comments","events_url":"https://api.github.com/repos/ropensci/plotly/issues/554/events","html_url":"https://github.com/ropensci/plotly/pull/554","id":149309166,"number":554,"title":"Another attempt at crosstalk integration","user":{"login":"jcheng5","id":129551,"avatar_url":"https://avatars.githubusercontent.com/u/129551?v=3","gravatar_id":"","url":"https://api.github.com/users/jcheng5","html_url":"https://github.com/jcheng5","followers_url":"https://api.github.com/users/jcheng5/followers","following_url":"https://api.github.com/users/jcheng5/following{/other_user}","gists_url":"https://api.github.com/users/jcheng5/gists{/gist_id}","starred_url":"https://api.github.com/users/jcheng5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcheng5/subscriptions","organizations_url":"https://api.github.com/users/jcheng5/orgs","repos_url":"https://api.github.com/users/jcheng5/repos","events_url":"https://api.github.com/users/jcheng5/events{/privacy}","received_events_url":"https://api.github.com/users/jcheng5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2016-04-19T00:22:54Z","updated_at":"2016-05-20T15:25:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ropensci/plotly/pulls/554","html_url":"https://github.com/ropensci/plotly/pull/554","diff_url":"https://github.com/ropensci/plotly/pull/554.diff","patch_url":"https://github.com/ropensci/plotly/pull/554.patch"},"body":"Lots of work still needed here, but it works enough that you can get a sense of what I'd like to see happen here. This is similar to other demos that have existed in the past, but unlike my previous demos it now uses plotly, not just ggplot2/ggvis/base graphics; and unlike @cpsievert's previous demos (to my knowledge) it now does client-side linked brushing between two distinct plotly plots.\r\n\r\nLive demo:\r\nhttps://beta.rstudioconnect.com/jcheng/shiny-crosstalk/\r\n\r\n- [ ] Decide on API for specifying Crosstalk key and group (or should both parameters be bundled into a single `crosstalk` param?)--this should ideally be consistent across all Crosstalk-compatible htmlwidgets\r\n- [x] Need to be able to programatically clear the selection box on a plotly.js plot when another plot in the same group activates its brush (including non-plotly plots) (**Update:** I worked around this for now by removing the selection box myself.)\r\n- [ ] I'm not sure I understand all the possibilities around multiple traces and/or subplots, could use a brain dump on these things from @cpsievert (**Update:** Multiple traces now work; subplots don't.)\r\n- [ ] Client-side linking can use `plotly_selecting` and you get a really nice experience--but to make it not overwhelm the server we need to use `plotly_selected` right now. Maybe should formalize this in Crosstalk and have both \"fast\" and \"slow\" subscription models.\r\n\r\n(I also have some general questions/issues with the plotly R wrapper to discuss with you, @cpsievert, especially around NSE--but I'll save those for another time.)\r\n\r\ncc @jjallaire, @ramnathv\r\n\r\n@hafen, I'm hoping to look more closely at rbokeh next."},"comment":{"url":"https://api.github.com/repos/ropensci/plotly/issues/comments/220636743","html_url":"https://github.com/ropensci/plotly/pull/554#issuecomment-220636743","issue_url":"https://api.github.com/repos/ropensci/plotly/issues/554","id":220636743,"user":{"login":"timelyportfolio","id":837910,"avatar_url":"https://avatars.githubusercontent.com/u/837910?v=3","gravatar_id":"","url":"https://api.github.com/users/timelyportfolio","html_url":"https://github.com/timelyportfolio","followers_url":"https://api.github.com/users/timelyportfolio/followers","following_url":"https://api.github.com/users/timelyportfolio/following{/other_user}","gists_url":"https://api.github.com/users/timelyportfolio/gists{/gist_id}","starred_url":"https://api.github.com/users/timelyportfolio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timelyportfolio/subscriptions","organizations_url":"https://api.github.com/users/timelyportfolio/orgs","repos_url":"https://api.github.com/users/timelyportfolio/repos","events_url":"https://api.github.com/users/timelyportfolio/events{/privacy}","received_events_url":"https://api.github.com/users/timelyportfolio/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T15:25:18Z","updated_at":"2016-05-20T15:25:18Z","body":"The easiest,  but I'm not sure best way, is to add the `jQuery` dependency with rmarkdown::html_dependency_jquery()."}}
{"actor":{"display_login":"timelyportfolio"}}