{"action":"opened","issue":{"url":"https://api.github.com/repos/chartjs/Chart.js/issues/3408","repository_url":"https://api.github.com/repos/chartjs/Chart.js","labels_url":"https://api.github.com/repos/chartjs/Chart.js/issues/3408/labels{/name}","comments_url":"https://api.github.com/repos/chartjs/Chart.js/issues/3408/comments","events_url":"https://api.github.com/repos/chartjs/Chart.js/issues/3408/events","html_url":"https://github.com/chartjs/Chart.js/issues/3408","id":180726313,"number":3408,"title":"Close together points break 'monotone' cublicLineInterpolation","user":{"login":"nolanthorn","id":7470442,"avatar_url":"https://avatars.githubusercontent.com/u/7470442?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanthorn","html_url":"https://github.com/nolanthorn","followers_url":"https://api.github.com/users/nolanthorn/followers","following_url":"https://api.github.com/users/nolanthorn/following{/other_user}","gists_url":"https://api.github.com/users/nolanthorn/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanthorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanthorn/subscriptions","organizations_url":"https://api.github.com/users/nolanthorn/orgs","repos_url":"https://api.github.com/users/nolanthorn/repos","events_url":"https://api.github.com/users/nolanthorn/events{/privacy}","received_events_url":"https://api.github.com/users/nolanthorn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-03T19:33:09Z","updated_at":"2016-10-03T19:33:09Z","closed_at":null,"body":"When using the 'time' xAxes and a normal yAxes, with a y = f(x) type function, I wanted to use 'monotone' as my cubicLineInterpolation because some of my datasets were being drawn not as functions but as relations despite being functions themselves.\r\n\r\nHowever, when there are two points \"close enough\" (haven't determined what exactly this threshold is) together on the x-axis (as dates),  the 'monotone' cubicLineInterpolation option causes the line to stop being drawn and the 'fill' option just kinda wanders down to 0.\r\n\r\nSee: https://jsfiddle.net/w5kq5mzk/2/\r\n\r\nNote the two points in the dataset labelled with comments (both have y = 93), removing either of them or both of them fixes the issue and the graph looks quite nice. \r\n\r\nThanks for the library, hopefully this is an easy fix."}}
{"actor":{"display_login":"nolanthorn"}}