{"action":"created","issue":{"url":"https://api.github.com/repos/morrisjs/morris.js/issues/482","labels_url":"https://api.github.com/repos/morrisjs/morris.js/issues/482/labels{/name}","comments_url":"https://api.github.com/repos/morrisjs/morris.js/issues/482/comments","events_url":"https://api.github.com/repos/morrisjs/morris.js/issues/482/events","html_url":"https://github.com/morrisjs/morris.js/issues/482","id":40134230,"number":482,"title":"Line graph has humps and bumps instead of flat line","user":{"login":"mrextreme","id":1567755,"avatar_url":"https://avatars.githubusercontent.com/u/1567755?v=3","gravatar_id":"","url":"https://api.github.com/users/mrextreme","html_url":"https://github.com/mrextreme","followers_url":"https://api.github.com/users/mrextreme/followers","following_url":"https://api.github.com/users/mrextreme/following{/other_user}","gists_url":"https://api.github.com/users/mrextreme/gists{/gist_id}","starred_url":"https://api.github.com/users/mrextreme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrextreme/subscriptions","organizations_url":"https://api.github.com/users/mrextreme/orgs","repos_url":"https://api.github.com/users/mrextreme/repos","events_url":"https://api.github.com/users/mrextreme/events{/privacy}","received_events_url":"https://api.github.com/users/mrextreme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-08-13T08:46:25Z","updated_at":"2015-04-13T09:19:36Z","closed_at":null,"body":"In line charts when I have the exact same values one after the other, it draws a wave, instead of a flat line. I think that's because how the line smoothing algorithm (Bezier or whatever else) works, but can anything be done about it? That looks bad and gives false impressions to the viewer.\r\n\r\n![example](https://cloud.githubusercontent.com/assets/1567755/3902975/fc3f47ae-22c5-11e4-8e63-8cb52b7fb2e1.png)\r\n"},"comment":{"url":"https://api.github.com/repos/morrisjs/morris.js/issues/comments/92287500","html_url":"https://github.com/morrisjs/morris.js/issues/482#issuecomment-92287500","issue_url":"https://api.github.com/repos/morrisjs/morris.js/issues/482","id":92287500,"user":{"login":"JelteF","id":1162278,"avatar_url":"https://avatars.githubusercontent.com/u/1162278?v=3","gravatar_id":"","url":"https://api.github.com/users/JelteF","html_url":"https://github.com/JelteF","followers_url":"https://api.github.com/users/JelteF/followers","following_url":"https://api.github.com/users/JelteF/following{/other_user}","gists_url":"https://api.github.com/users/JelteF/gists{/gist_id}","starred_url":"https://api.github.com/users/JelteF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JelteF/subscriptions","organizations_url":"https://api.github.com/users/JelteF/orgs","repos_url":"https://api.github.com/users/JelteF/repos","events_url":"https://api.github.com/users/JelteF/events{/privacy}","received_events_url":"https://api.github.com/users/JelteF/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T09:19:36Z","updated_at":"2015-04-13T09:19:36Z","body":"It is indeed because of how the bezier curves work. I don't know enough of the SVG code to know how to make sure this doesn't happen. and `smooth: 'false'` should indeed remove the problem."}}