{"action":"created","issue":{"url":"https://api.github.com/repos/vega/vega-lite/issues/975","repository_url":"https://api.github.com/repos/vega/vega-lite","labels_url":"https://api.github.com/repos/vega/vega-lite/issues/975/labels{/name}","comments_url":"https://api.github.com/repos/vega/vega-lite/issues/975/comments","events_url":"https://api.github.com/repos/vega/vega-lite/issues/975/events","html_url":"https://github.com/vega/vega-lite/issues/975","id":127811148,"number":975,"title":"Add more axis / label properties","user":{"login":"kanitw","id":111269,"avatar_url":"https://avatars.githubusercontent.com/u/111269?v=3","gravatar_id":"","url":"https://api.github.com/users/kanitw","html_url":"https://github.com/kanitw","followers_url":"https://api.github.com/users/kanitw/followers","following_url":"https://api.github.com/users/kanitw/following{/other_user}","gists_url":"https://api.github.com/users/kanitw/gists{/gist_id}","starred_url":"https://api.github.com/users/kanitw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanitw/subscriptions","organizations_url":"https://api.github.com/users/kanitw/orgs","repos_url":"https://api.github.com/users/kanitw/repos","events_url":"https://api.github.com/users/kanitw/events{/privacy}","received_events_url":"https://api.github.com/users/kanitw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vega/vega-lite/labels/Easy","name":"Easy","color":"bfe5bf"},{"url":"https://api.github.com/repos/vega/vega-lite/labels/help-wanted","name":"help-wanted","color":"006b75"},{"url":"https://api.github.com/repos/vega/vega-lite/labels/Priority/3-Medium","name":"Priority/3-Medium","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"YuhanLu","id":11696585,"avatar_url":"https://avatars.githubusercontent.com/u/11696585?v=3","gravatar_id":"","url":"https://api.github.com/users/YuhanLu","html_url":"https://github.com/YuhanLu","followers_url":"https://api.github.com/users/YuhanLu/followers","following_url":"https://api.github.com/users/YuhanLu/following{/other_user}","gists_url":"https://api.github.com/users/YuhanLu/gists{/gist_id}","starred_url":"https://api.github.com/users/YuhanLu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuhanLu/subscriptions","organizations_url":"https://api.github.com/users/YuhanLu/orgs","repos_url":"https://api.github.com/users/YuhanLu/repos","events_url":"https://api.github.com/users/YuhanLu/events{/privacy}","received_events_url":"https://api.github.com/users/YuhanLu/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/vega/vega-lite/milestones/22","html_url":"https://github.com/vega/vega-lite/milestones/1.0.x%20Important%20Patches","labels_url":"https://api.github.com/repos/vega/vega-lite/milestones/22/labels","id":1569609,"number":22,"title":"1.0.x Important Patches","description":"","creator":{"login":"kanitw","id":111269,"avatar_url":"https://avatars.githubusercontent.com/u/111269?v=3","gravatar_id":"","url":"https://api.github.com/users/kanitw","html_url":"https://github.com/kanitw","followers_url":"https://api.github.com/users/kanitw/followers","following_url":"https://api.github.com/users/kanitw/following{/other_user}","gists_url":"https://api.github.com/users/kanitw/gists{/gist_id}","starred_url":"https://api.github.com/users/kanitw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanitw/subscriptions","organizations_url":"https://api.github.com/users/kanitw/orgs","repos_url":"https://api.github.com/users/kanitw/repos","events_url":"https://api.github.com/users/kanitw/events{/privacy}","received_events_url":"https://api.github.com/users/kanitw/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":1,"state":"open","created_at":"2016-02-08T07:39:58Z","updated_at":"2016-02-09T01:21:58Z","due_on":"2016-03-13T08:00:00Z","closed_at":null},"comments":4,"created_at":"2016-01-20T23:37:25Z","updated_at":"2016-02-11T16:24:37Z","closed_at":null,"body":"Currently if we want to customize labels angle of x-axis, we need to add `{\"properties\": {\"labels\": {\"angle\": {\"value\": -45}}}}` to `x.axis`.   (Like shown in the full spec below).\r\n\r\n- [ ] ~~making it `{\"properties\": {\"labels\": {\"angle\": -45}}}` is more reasonable for Vega-Lite~~ \r\n\r\nExample full spec:\r\n\r\n```\r\n{\r\n  \"description\": \"Area chart showing weight of cars over time.\",\r\n  \"data\": {\"url\": \"data/cars.json\"},\r\n  \"mark\": \"area\",\r\n  \"encoding\": {\r\n    \"x\": {\r\n      \"timeUnit\": \"year\", \"field\": \"Year\", \"type\": \"temporal\",\r\n      \"axis\": {\"properties\": {\"labels\": {\"angle\": {\"value\": -45}}}}\r\n    },\r\n    \"y\": {\"aggregate\": \"sum\", \"field\": \"Weight_in_lbs\",\"type\": \"quantitative\"}\r\n  },\r\n  \"config\": {\"mark\": {\"interpolate\": \"monotone\"}}\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/vega/vega-lite/issues/comments/182942349","html_url":"https://github.com/vega/vega-lite/issues/975#issuecomment-182942349","issue_url":"https://api.github.com/repos/vega/vega-lite/issues/975","id":182942349,"user":{"login":"kanitw","id":111269,"avatar_url":"https://avatars.githubusercontent.com/u/111269?v=3","gravatar_id":"","url":"https://api.github.com/users/kanitw","html_url":"https://github.com/kanitw","followers_url":"https://api.github.com/users/kanitw/followers","following_url":"https://api.github.com/users/kanitw/following{/other_user}","gists_url":"https://api.github.com/users/kanitw/gists{/gist_id}","starred_url":"https://api.github.com/users/kanitw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanitw/subscriptions","organizations_url":"https://api.github.com/users/kanitw/orgs","repos_url":"https://api.github.com/users/kanitw/repos","events_url":"https://api.github.com/users/kanitw/events{/privacy}","received_events_url":"https://api.github.com/users/kanitw/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T16:24:37Z","updated_at":"2016-02-11T16:24:37Z","body":"@YuhanLu  To help you get started, you should create a google docs listing all axis and legend properties in Vega's [config_properties.js](https://github.com/vega/vega/blob/emily/theming-wip/theme/config_properties.js)\r\nand map them to Vega axis and legend properties and ping us to review.   "}}