{"action":"created","issue":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/1856","labels_url":"https://api.github.com/repos/bokeh/bokeh/issues/1856/labels{/name}","comments_url":"https://api.github.com/repos/bokeh/bokeh/issues/1856/comments","events_url":"https://api.github.com/repos/bokeh/bokeh/issues/1856/events","html_url":"https://github.com/bokeh/bokeh/issues/1856","id":57206284,"number":1856,"title":"HorizontalBar","user":{"login":"birdsarah","id":1796208,"avatar_url":"https://avatars.githubusercontent.com/u/1796208?v=3","gravatar_id":"","url":"https://api.github.com/users/birdsarah","html_url":"https://github.com/birdsarah","followers_url":"https://api.github.com/users/birdsarah/followers","following_url":"https://api.github.com/users/birdsarah/following{/other_user}","gists_url":"https://api.github.com/users/birdsarah/gists{/gist_id}","starred_url":"https://api.github.com/users/birdsarah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/birdsarah/subscriptions","organizations_url":"https://api.github.com/users/birdsarah/orgs","repos_url":"https://api.github.com/users/birdsarah/repos","events_url":"https://api.github.com/users/birdsarah/events{/privacy}","received_events_url":"https://api.github.com/users/birdsarah/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bokeh/bokeh/labels/type:%20discussion","name":"type: discussion","color":"2659A0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-10T17:23:12Z","updated_at":"2015-02-10T19:55:16Z","closed_at":null,"body":"Following on from #1780, #1836, #1851, #1852\r\n\r\nHow do people feel about a HorizontalBar variation of Bar, where the categorical axis runs on the y (and the bars run Horizontally)? \r\n\r\nOne small naming concern is a potential confusion between: \r\n* Bar Graph aka Horizontal Bar Graph (we currently don't have a chart for)\r\n* Column Graph aka Vertical Bar Graph (currently `Bar`)\r\n\r\nI'm not sure what people use for references on this stuff, I have a few books lying around, but have only picked stuff up informally, so I have no idea what \"correct\" is or should be. \r\n\r\nBut it seems that maybe being explicit and just having HorizontalBar and VerticalBar (which would imply a name change for Bar) might be useful. "},"comment":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/comments/73771397","html_url":"https://github.com/bokeh/bokeh/issues/1856#issuecomment-73771397","issue_url":"https://api.github.com/repos/bokeh/bokeh/issues/1856","id":73771397,"user":{"login":"birdsarah","id":1796208,"avatar_url":"https://avatars.githubusercontent.com/u/1796208?v=3","gravatar_id":"","url":"https://api.github.com/users/birdsarah","html_url":"https://github.com/birdsarah","followers_url":"https://api.github.com/users/birdsarah/followers","following_url":"https://api.github.com/users/birdsarah/following{/other_user}","gists_url":"https://api.github.com/users/birdsarah/gists{/gist_id}","starred_url":"https://api.github.com/users/birdsarah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/birdsarah/subscriptions","organizations_url":"https://api.github.com/users/birdsarah/orgs","repos_url":"https://api.github.com/users/birdsarah/repos","events_url":"https://api.github.com/users/birdsarah/events{/privacy}","received_events_url":"https://api.github.com/users/birdsarah/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T19:55:16Z","updated_at":"2015-02-10T19:55:16Z","body":"I like that.\r\n\r\nPR #1836 adds the parameter y_range, where a user can specify a custom `y_range`. That makes the interface:\r\n\r\n    Bar(values, cat=['A', 'B'], stacked=False, y_range=Range1d())\r\n\r\nWith `horizontal` & `vertical` in play, it seems that it would be more appropriate to use `linear_range`, so interface be:\r\n\r\n    Bar(value, cat=['A', 'B'], stacked=False, orientation=\"vertical\", linear_range=Range1d())\r\n\r\nBuilding on this, it would seem logical to build on `cat`, and offer a `cat_range` parameter, where users can specify their own categorical_range, and `cat` is a shortcut onto FactorRange(factors=cat).\r\n\r\n "}}