{"action":"created","issue":{"url":"https://api.github.com/repos/vega/vega/issues/316","labels_url":"https://api.github.com/repos/vega/vega/issues/316/labels{/name}","comments_url":"https://api.github.com/repos/vega/vega/issues/316/comments","events_url":"https://api.github.com/repos/vega/vega/issues/316/events","html_url":"https://github.com/vega/vega/issues/316","id":98386835,"number":316,"title":"Resizing view resizes the axis, but not the marks","user":{"login":"sadruddin","id":1284886,"avatar_url":"https://avatars.githubusercontent.com/u/1284886?v=3","gravatar_id":"","url":"https://api.github.com/users/sadruddin","html_url":"https://github.com/sadruddin","followers_url":"https://api.github.com/users/sadruddin/followers","following_url":"https://api.github.com/users/sadruddin/following{/other_user}","gists_url":"https://api.github.com/users/sadruddin/gists{/gist_id}","starred_url":"https://api.github.com/users/sadruddin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadruddin/subscriptions","organizations_url":"https://api.github.com/users/sadruddin/orgs","repos_url":"https://api.github.com/users/sadruddin/repos","events_url":"https://api.github.com/users/sadruddin/events{/privacy}","received_events_url":"https://api.github.com/users/sadruddin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-31T13:01:24Z","updated_at":"2015-08-03T23:22:30Z","closed_at":"2015-08-03T22:59:20Z","body":"When resizing a view, the axes get resized appropriately, but not the insides of the graph (marks). I tested the code below using the \"bar\" example spec\r\n\r\n```javascript\r\nvg.parse.spec(spec, function(chart) {\r\n  view = chart({el:'#vis'});\r\n  view.width(640).height(480).renderer('svg').update();\r\n  view.width(1024).height(768).update({duration: 2000});\r\n})\r\n````\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vega/vega/issues/comments/127430054","html_url":"https://github.com/vega/vega/issues/316#issuecomment-127430054","issue_url":"https://api.github.com/repos/vega/vega/issues/316","id":127430054,"user":{"login":"arvind","id":42262,"avatar_url":"https://avatars.githubusercontent.com/u/42262?v=3","gravatar_id":"","url":"https://api.github.com/users/arvind","html_url":"https://github.com/arvind","followers_url":"https://api.github.com/users/arvind/followers","following_url":"https://api.github.com/users/arvind/following{/other_user}","gists_url":"https://api.github.com/users/arvind/gists{/gist_id}","starred_url":"https://api.github.com/users/arvind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvind/subscriptions","organizations_url":"https://api.github.com/users/arvind/orgs","repos_url":"https://api.github.com/users/arvind/repos","events_url":"https://api.github.com/users/arvind/events{/privacy}","received_events_url":"https://api.github.com/users/arvind/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T23:22:30Z","updated_at":"2015-08-03T23:22:30Z","body":"It shouldn't be. The Vega 1.5 [bar example](http://trifacta.github.io/vega/editor/?spec=bar) exhibits the same behaviour. "}}