{"action":"created","issue":{"url":"https://api.github.com/repos/nnnick/Chart.js/issues/1107","labels_url":"https://api.github.com/repos/nnnick/Chart.js/issues/1107/labels{/name}","comments_url":"https://api.github.com/repos/nnnick/Chart.js/issues/1107/comments","events_url":"https://api.github.com/repos/nnnick/Chart.js/issues/1107/events","html_url":"https://github.com/nnnick/Chart.js/pull/1107","id":73745404,"number":1107,"title":"Set Max X-axis Label Length for Bar and Line Charts","user":{"login":"super-goose","id":8120179,"avatar_url":"https://avatars.githubusercontent.com/u/8120179?v=3","gravatar_id":"","url":"https://api.github.com/users/super-goose","html_url":"https://github.com/super-goose","followers_url":"https://api.github.com/users/super-goose/followers","following_url":"https://api.github.com/users/super-goose/following{/other_user}","gists_url":"https://api.github.com/users/super-goose/gists{/gist_id}","starred_url":"https://api.github.com/users/super-goose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/super-goose/subscriptions","organizations_url":"https://api.github.com/users/super-goose/orgs","repos_url":"https://api.github.com/users/super-goose/repos","events_url":"https://api.github.com/users/super-goose/events{/privacy}","received_events_url":"https://api.github.com/users/super-goose/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-06T21:38:04Z","updated_at":"2015-05-19T04:46:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nnnick/Chart.js/pulls/1107","html_url":"https://github.com/nnnick/Chart.js/pull/1107","diff_url":"https://github.com/nnnick/Chart.js/pull/1107.diff","patch_url":"https://github.com/nnnick/Chart.js/pull/1107.patch"},"body":"I needed a way to set a max string length for the x-axis on a Bar Chart, without affecting the tooltip label.  I made the change to Line Charts as well.  It was for a dataset where the label was 40+ characters long, and it was squishing the graph to a vertical size that was impractical.\r\n\r\nThis solution worked for me, and I think it will work for others too, so I wanted to share it.  If you like it or think others will like it, you can use it."},"comment":{"url":"https://api.github.com/repos/nnnick/Chart.js/issues/comments/103334639","html_url":"https://github.com/nnnick/Chart.js/pull/1107#issuecomment-103334639","issue_url":"https://api.github.com/repos/nnnick/Chart.js/issues/1107","id":103334639,"user":{"login":"super-goose","id":8120179,"avatar_url":"https://avatars.githubusercontent.com/u/8120179?v=3","gravatar_id":"","url":"https://api.github.com/users/super-goose","html_url":"https://github.com/super-goose","followers_url":"https://api.github.com/users/super-goose/followers","following_url":"https://api.github.com/users/super-goose/following{/other_user}","gists_url":"https://api.github.com/users/super-goose/gists{/gist_id}","starred_url":"https://api.github.com/users/super-goose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/super-goose/subscriptions","organizations_url":"https://api.github.com/users/super-goose/orgs","repos_url":"https://api.github.com/users/super-goose/repos","events_url":"https://api.github.com/users/super-goose/events{/privacy}","received_events_url":"https://api.github.com/users/super-goose/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T04:46:22Z","updated_at":"2015-05-19T04:46:22Z","body":"Understood.  This is my first time, so thanks for the feedback.\n\nOn Mon, May 18, 2015 at 7:36 AM, Buleandra Cristian <\nnotifications@github.com> wrote:\n\n> I think you should combine all commits in one, max two. It's pretty hard\n> to review the code when changes are split amongst 12 commits.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/nnnick/Chart.js/pull/1107#issuecomment-103044280>.\n>\n\n\n\n-- \n\nJ Davis\nHeck is where people go who don’t believe in gosh\n"}}