{"action":"opened","issue":{"url":"https://api.github.com/repos/chartjs/Chart.js/issues/2476","repository_url":"https://api.github.com/repos/chartjs/Chart.js","labels_url":"https://api.github.com/repos/chartjs/Chart.js/issues/2476/labels{/name}","comments_url":"https://api.github.com/repos/chartjs/Chart.js/issues/2476/comments","events_url":"https://api.github.com/repos/chartjs/Chart.js/issues/2476/events","html_url":"https://github.com/chartjs/Chart.js/issues/2476","id":153446436,"number":2476,"title":"Line chart ignores beginAtZero if no y-values are present","user":{"login":"bart-blommaerts","id":3988458,"avatar_url":"https://avatars.githubusercontent.com/u/3988458?v=3","gravatar_id":"","url":"https://api.github.com/users/bart-blommaerts","html_url":"https://github.com/bart-blommaerts","followers_url":"https://api.github.com/users/bart-blommaerts/followers","following_url":"https://api.github.com/users/bart-blommaerts/following{/other_user}","gists_url":"https://api.github.com/users/bart-blommaerts/gists{/gist_id}","starred_url":"https://api.github.com/users/bart-blommaerts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bart-blommaerts/subscriptions","organizations_url":"https://api.github.com/users/bart-blommaerts/orgs","repos_url":"https://api.github.com/users/bart-blommaerts/repos","events_url":"https://api.github.com/users/bart-blommaerts/events{/privacy}","received_events_url":"https://api.github.com/users/bart-blommaerts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-06T13:04:29Z","updated_at":"2016-05-06T13:04:29Z","closed_at":null,"body":"In ChartJS 2.1.0 a line chart ignores the beginAtZero option, if no y-values are present. This was also mentioned in https://github.com/chartjs/Chart.js/pull/1581#issuecomment-151992967 . I want to avoid having negative values.\r\n\r\nConfig:\r\n```\r\n                type: 'line',\r\n                options: {\r\n                    scales: {\r\n                        yAxes: [{\r\n                            ticks: {\r\n                                beginAtZero: true\r\n                            }\r\n                        }],\r\n                        xAxes: [{\r\n                            gridLines: {\r\n                                display: false\r\n                            }\r\n                        }]\r\n                    },\r\n                    responsive: true,\r\n                    maintainAspectRatio: false\r\n                }\r\n```\r\n\r\n\r\nScreenshot:\r\n\r\n![capture](https://cloud.githubusercontent.com/assets/3988458/15073776/be2e5770-139b-11e6-871a-19060da3afe1.PNG)\r\n"}}