{"action":"created","issue":{"url":"https://api.github.com/repos/chartjs/Chart.js/issues/897","repository_url":"https://api.github.com/repos/chartjs/Chart.js","labels_url":"https://api.github.com/repos/chartjs/Chart.js/issues/897/labels{/name}","comments_url":"https://api.github.com/repos/chartjs/Chart.js/issues/897/comments","events_url":"https://api.github.com/repos/chartjs/Chart.js/issues/897/events","html_url":"https://github.com/chartjs/Chart.js/pull/897","id":55583553,"number":897,"title":"Show x labels","user":{"login":"hay-wire","id":2913409,"avatar_url":"https://avatars.githubusercontent.com/u/2913409?v=3","gravatar_id":"","url":"https://api.github.com/users/hay-wire","html_url":"https://github.com/hay-wire","followers_url":"https://api.github.com/users/hay-wire/followers","following_url":"https://api.github.com/users/hay-wire/following{/other_user}","gists_url":"https://api.github.com/users/hay-wire/gists{/gist_id}","starred_url":"https://api.github.com/users/hay-wire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hay-wire/subscriptions","organizations_url":"https://api.github.com/users/hay-wire/orgs","repos_url":"https://api.github.com/users/hay-wire/repos","events_url":"https://api.github.com/users/hay-wire/events{/privacy}","received_events_url":"https://api.github.com/users/hay-wire/received_events","type":"User","site_admin":false},"labels":[{"id":253923670,"url":"https://api.github.com/repos/chartjs/Chart.js/labels/Version:%201.x","name":"Version: 1.x","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/chartjs/Chart.js/milestones/5","html_url":"https://github.com/chartjs/Chart.js/milestones/Rewrite%20axis/scale%20code","labels_url":"https://api.github.com/repos/chartjs/Chart.js/milestones/5/labels","id":1025377,"number":5,"title":"Rewrite axis/scale code","description":"These issues are all related to axis scale code. When a great solution to the X axis code/scales is created then all these issues will be closed.","creator":{"login":"fulldecent","id":382183,"avatar_url":"https://avatars.githubusercontent.com/u/382183?v=3","gravatar_id":"","url":"https://api.github.com/users/fulldecent","html_url":"https://github.com/fulldecent","followers_url":"https://api.github.com/users/fulldecent/followers","following_url":"https://api.github.com/users/fulldecent/following{/other_user}","gists_url":"https://api.github.com/users/fulldecent/gists{/gist_id}","starred_url":"https://api.github.com/users/fulldecent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fulldecent/subscriptions","organizations_url":"https://api.github.com/users/fulldecent/orgs","repos_url":"https://api.github.com/users/fulldecent/repos","events_url":"https://api.github.com/users/fulldecent/events{/privacy}","received_events_url":"https://api.github.com/users/fulldecent/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":34,"state":"closed","created_at":"2015-03-17T13:25:22Z","updated_at":"2016-02-20T13:20:08Z","due_on":null,"closed_at":"2016-02-20T13:20:08Z"},"comments":58,"created_at":"2015-01-27T07:09:02Z","updated_at":"2016-11-04T23:43:22Z","closed_at":"2015-09-21T21:51:25Z","pull_request":{"url":"https://api.github.com/repos/chartjs/Chart.js/pulls/897","html_url":"https://github.com/chartjs/Chart.js/pull/897","diff_url":"https://github.com/chartjs/Chart.js/pull/897.diff","patch_url":"https://github.com/chartjs/Chart.js/pull/897.patch"},"body":"Applicable to bar chart and line chart.\n\nUser can now pass a { showXLabels: 10 } to display only 10 labels (actual displayed labels count might be a bit different depending on the number of total labels present on x axis, but it will still remain close to 10 however)\n\nHelps a lot when there is a very large amount of data. Earlier, the graph used to look devastated due to x axis labels drawn over each other in the cramped space. With showXLabels, user now has the control to reduce the number of labels to whatever number of labels fit good into the space available to him.\n\nPlease see the attached images for a comparison. the second graph has been passed { showXLabels: 10 } into option.\n\nWithout showXLabels:\n![without showXLabels: crowded](https://cloud.githubusercontent.com/assets/2913409/5914618/f7b47330-a61e-11e4-93ce-4c66b1608ee6.png)\n\nWith showXLabels = 10:\n![with showXLabels: 10](https://cloud.githubusercontent.com/assets/2913409/5914627/07a325de-a61f-11e4-9710-5ee54504ea9e.png)\n\nUsage: Just pass showXLabels: 10 along with other options in the constructor. \nExample:\nmyLine = new Chart(ctx).Line(lineChartData, {\n    responsive: true,\n    showXLabels: 10\n});\n"},"comment":{"url":"https://api.github.com/repos/chartjs/Chart.js/issues/comments/258573650","html_url":"https://github.com/chartjs/Chart.js/pull/897#issuecomment-258573650","issue_url":"https://api.github.com/repos/chartjs/Chart.js/issues/897","id":258573650,"user":{"login":"JimmyVT","id":2736269,"avatar_url":"https://avatars.githubusercontent.com/u/2736269?v=3","gravatar_id":"","url":"https://api.github.com/users/JimmyVT","html_url":"https://github.com/JimmyVT","followers_url":"https://api.github.com/users/JimmyVT/followers","following_url":"https://api.github.com/users/JimmyVT/following{/other_user}","gists_url":"https://api.github.com/users/JimmyVT/gists{/gist_id}","starred_url":"https://api.github.com/users/JimmyVT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JimmyVT/subscriptions","organizations_url":"https://api.github.com/users/JimmyVT/orgs","repos_url":"https://api.github.com/users/JimmyVT/repos","events_url":"https://api.github.com/users/JimmyVT/events{/privacy}","received_events_url":"https://api.github.com/users/JimmyVT/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T23:43:22Z","updated_at":"2016-11-04T23:43:22Z","body":"+1 Hi ! Are there any updates on this?"}}
{"actor":{"display_login":"JimmyVT"}}