{"action":"created","issue":{"url":"https://api.github.com/repos/palantir/plottable/issues/2536","labels_url":"https://api.github.com/repos/palantir/plottable/issues/2536/labels{/name}","comments_url":"https://api.github.com/repos/palantir/plottable/issues/2536/comments","events_url":"https://api.github.com/repos/palantir/plottable/issues/2536/events","html_url":"https://github.com/palantir/plottable/issues/2536","id":98847858,"number":2536,"title":"attr(\"width\") and attr(\"height\") behave strangely on Plots.Bar","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},"labels":[{"url":"https://api.github.com/repos/palantir/plottable/labels/bug","name":"bug","color":"ff93c8"},{"url":"https://api.github.com/repos/palantir/plottable/labels/p2","name":"p2","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-03T22:08:38Z","updated_at":"2015-08-03T22:09:36Z","closed_at":null,"body":"Repro: http://jsfiddle.net/4L8spm0a/\r\n\r\n**Actual**: `attr(\"width\", 5)` sets the size of the \"narrow end\" of the bar regardless of orientation.\r\n**Expected**: `attr(\"width\", 5)` affects the \"width\" attribute regardless of the orientation of the `Plots.Bar`."},"comment":{"url":"https://api.github.com/repos/palantir/plottable/issues/comments/127419000","html_url":"https://github.com/palantir/plottable/issues/2536#issuecomment-127419000","issue_url":"https://api.github.com/repos/palantir/plottable/issues/2536","id":127419000,"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-03T22:09:36Z","updated_at":"2015-08-03T22:09:36Z","body":"We don't explicitly say this anywhere, but is impression was that `attr()` is a manual-override point and should take precedence over the property-setters. Doing some further testing, this implies that `attr(\"x\", ...)` and `attr(\"y\", ...)` don't work correctly on `XYPlot`."}}