{"action":"closed","issue":{"url":"https://api.github.com/repos/n3-charts/line-chart/issues/214","labels_url":"https://api.github.com/repos/n3-charts/line-chart/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/n3-charts/line-chart/issues/214/comments","events_url":"https://api.github.com/repos/n3-charts/line-chart/issues/214/events","html_url":"https://github.com/n3-charts/line-chart/issues/214","id":75018244,"number":214,"title":"Rotation of x axis labels","user":{"login":"henhal","id":9608258,"avatar_url":"https://avatars.githubusercontent.com/u/9608258?v=3","gravatar_id":"","url":"https://api.github.com/users/henhal","html_url":"https://github.com/henhal","followers_url":"https://api.github.com/users/henhal/followers","following_url":"https://api.github.com/users/henhal/following{/other_user}","gists_url":"https://api.github.com/users/henhal/gists{/gist_id}","starred_url":"https://api.github.com/users/henhal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henhal/subscriptions","organizations_url":"https://api.github.com/users/henhal/orgs","repos_url":"https://api.github.com/users/henhal/repos","events_url":"https://api.github.com/users/henhal/events{/privacy}","received_events_url":"https://api.github.com/users/henhal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/n3-charts/line-chart/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/n3-charts/line-chart/labels/PR%20welcome","name":"PR welcome","color":"fef2c0"}],"state":"closed","locked":false,"assignee":{"login":"chaosmail","id":2969388,"avatar_url":"https://avatars.githubusercontent.com/u/2969388?v=3","gravatar_id":"","url":"https://api.github.com/users/chaosmail","html_url":"https://github.com/chaosmail","followers_url":"https://api.github.com/users/chaosmail/followers","following_url":"https://api.github.com/users/chaosmail/following{/other_user}","gists_url":"https://api.github.com/users/chaosmail/gists{/gist_id}","starred_url":"https://api.github.com/users/chaosmail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaosmail/subscriptions","organizations_url":"https://api.github.com/users/chaosmail/orgs","repos_url":"https://api.github.com/users/chaosmail/repos","events_url":"https://api.github.com/users/chaosmail/events{/privacy}","received_events_url":"https://api.github.com/users/chaosmail/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-05-10T22:43:06Z","updated_at":"2015-05-26T18:10:06Z","closed_at":"2015-05-26T18:10:06Z","body":"I have a column chart where each column's label on the x axis is a string, and each label must be visible. When having fairly large series, this means the labels will overlap. \r\n\r\nI've been fiddling around with having the labels rotated 45 or even 90 degrees with the help of [http://www.d3noob.org/2013/01/how-to-rotate-text-labels-for-x-axis-of.html](this blog), but I haven't got it looking that great, and besides it would be awesome if this could be provided by the library using some option on the axis such as \r\n\r\n    axes: {\r\n        x: {\r\n            key: 'x',\r\n            type: 'linear',\r\n            rotate: 45,\r\n            ...\r\n    }\r\n\r\nThe label would then have to align either the beginning or the end of the text to the corresponding point on the x axis depending on if the angle is positive or negative.\r\n\r\nAny thoughts on this?"}}