{"action":"created","issue":{"url":"https://api.github.com/repos/palantir/plottable/issues/2659","labels_url":"https://api.github.com/repos/palantir/plottable/issues/2659/labels{/name}","comments_url":"https://api.github.com/repos/palantir/plottable/issues/2659/comments","events_url":"https://api.github.com/repos/palantir/plottable/issues/2659/events","html_url":"https://github.com/palantir/plottable/pull/2659","id":102237428,"number":2659,"title":"renderTo() now accepts DOM nodes","user":{"login":"crmorford","id":7527733,"avatar_url":"https://avatars.githubusercontent.com/u/7527733?v=3","gravatar_id":"","url":"https://api.github.com/users/crmorford","html_url":"https://github.com/crmorford","followers_url":"https://api.github.com/users/crmorford/followers","following_url":"https://api.github.com/users/crmorford/following{/other_user}","gists_url":"https://api.github.com/users/crmorford/gists{/gist_id}","starred_url":"https://api.github.com/users/crmorford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crmorford/subscriptions","organizations_url":"https://api.github.com/users/crmorford/orgs","repos_url":"https://api.github.com/users/crmorford/repos","events_url":"https://api.github.com/users/crmorford/events{/privacy}","received_events_url":"https://api.github.com/users/crmorford/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/palantir/plottable/labels/+1","name":"+1","color":"bfe5bf"},{"url":"https://api.github.com/repos/palantir/plottable/labels/QE","name":"QE","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"jtlan","id":1440449,"avatar_url":"https://avatars.githubusercontent.com/u/1440449?v=3","gravatar_id":"","url":"https://api.github.com/users/jtlan","html_url":"https://github.com/jtlan","followers_url":"https://api.github.com/users/jtlan/followers","following_url":"https://api.github.com/users/jtlan/following{/other_user}","gists_url":"https://api.github.com/users/jtlan/gists{/gist_id}","starred_url":"https://api.github.com/users/jtlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtlan/subscriptions","organizations_url":"https://api.github.com/users/jtlan/orgs","repos_url":"https://api.github.com/users/jtlan/repos","events_url":"https://api.github.com/users/jtlan/events{/privacy}","received_events_url":"https://api.github.com/users/jtlan/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-08-20T21:06:40Z","updated_at":"2015-08-21T19:20:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/palantir/plottable/pulls/2659","html_url":"https://github.com/palantir/plottable/pull/2659","diff_url":"https://github.com/palantir/plottable/pull/2659.diff","patch_url":"https://github.com/palantir/plottable/pull/2659.patch"},"body":"Closes #1819."},"comment":{"url":"https://api.github.com/repos/palantir/plottable/issues/comments/133536096","html_url":"https://github.com/palantir/plottable/pull/2659#issuecomment-133536096","issue_url":"https://api.github.com/repos/palantir/plottable/issues/2659","id":133536096,"user":{"login":"jtlan","id":1440449,"avatar_url":"https://avatars.githubusercontent.com/u/1440449?v=3","gravatar_id":"","url":"https://api.github.com/users/jtlan","html_url":"https://github.com/jtlan","followers_url":"https://api.github.com/users/jtlan/followers","following_url":"https://api.github.com/users/jtlan/following{/other_user}","gists_url":"https://api.github.com/users/jtlan/gists{/gist_id}","starred_url":"https://api.github.com/users/jtlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtlan/subscriptions","organizations_url":"https://api.github.com/users/jtlan/orgs","repos_url":"https://api.github.com/users/jtlan/repos","events_url":"https://api.github.com/users/jtlan/events{/privacy}","received_events_url":"https://api.github.com/users/jtlan/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T19:20:06Z","updated_at":"2015-08-21T19:20:06Z","body":"Tested:\r\n* `renderTo(selection containing SVG)`\r\n* `renderTo(invalid selection)`\r\n* `renderTo(document.getElementById(\"chart\"))`\r\n* creating an element from scratch:\r\n\r\n  ```Javascript\r\nvar svg = document.createElementNS(\"http://www.w3.org/2000/svg\", \"svg\");\r\nsvg.setAttribute(\"width\", \"400px\");\r\nsvg.setAttribute(\"height\", \"400px\");\r\ndocument.body.appendChild(svg);\r\nchart.renderTo(svg);\r\n```"}}