{"action":"created","issue":{"url":"https://api.github.com/repos/oxyplot/oxyplot/issues/494","labels_url":"https://api.github.com/repos/oxyplot/oxyplot/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/oxyplot/oxyplot/issues/494/comments","events_url":"https://api.github.com/repos/oxyplot/oxyplot/issues/494/events","html_url":"https://github.com/oxyplot/oxyplot/issues/494","id":77925638,"number":494,"title":"LineSeries/AreaSeries smoothing issues","user":{"login":"xeo-it","id":7143502,"avatar_url":"https://avatars.githubusercontent.com/u/7143502?v=3","gravatar_id":"","url":"https://api.github.com/users/xeo-it","html_url":"https://github.com/xeo-it","followers_url":"https://api.github.com/users/xeo-it/followers","following_url":"https://api.github.com/users/xeo-it/following{/other_user}","gists_url":"https://api.github.com/users/xeo-it/gists{/gist_id}","starred_url":"https://api.github.com/users/xeo-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xeo-it/subscriptions","organizations_url":"https://api.github.com/users/xeo-it/orgs","repos_url":"https://api.github.com/users/xeo-it/repos","events_url":"https://api.github.com/users/xeo-it/events{/privacy}","received_events_url":"https://api.github.com/users/xeo-it/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oxyplot/oxyplot/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/oxyplot/oxyplot/labels/help-wanted","name":"help-wanted","color":"000000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-19T04:21:45Z","updated_at":"2015-06-09T07:56:55Z","closed_at":null,"body":"The Chart below is a simple AreaSeries Chart of the following values:  \r\n0,4,100,100,100,100,100,100,100,0,0,0,0,0,0  with minimum = -10 and maximum = 110\r\n\r\n![Chart](https://cloud.githubusercontent.com/assets/7143502/7695329/33383894-fe42-11e4-9e8b-9b362ba6d075.png)\r\n\r\nI would expect the line to never go below 0 and above 100 but as you can see, it looks like few points have negative value and others are above 100.  \r\nBelow in red is how I would expect it to be:\r\n\r\n![expected](https://cloud.githubusercontent.com/assets/7143502/7695381/01a0fc7a-fe43-11e4-82a3-53a08b725744.png)\r\n"},"comment":{"url":"https://api.github.com/repos/oxyplot/oxyplot/issues/comments/110265838","html_url":"https://github.com/oxyplot/oxyplot/issues/494#issuecomment-110265838","issue_url":"https://api.github.com/repos/oxyplot/oxyplot/issues/494","id":110265838,"user":{"login":"objorke","id":439716,"avatar_url":"https://avatars.githubusercontent.com/u/439716?v=3","gravatar_id":"","url":"https://api.github.com/users/objorke","html_url":"https://github.com/objorke","followers_url":"https://api.github.com/users/objorke/followers","following_url":"https://api.github.com/users/objorke/following{/other_user}","gists_url":"https://api.github.com/users/objorke/gists{/gist_id}","starred_url":"https://api.github.com/users/objorke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/objorke/subscriptions","organizations_url":"https://api.github.com/users/objorke/orgs","repos_url":"https://api.github.com/users/objorke/repos","events_url":"https://api.github.com/users/objorke/events{/privacy}","received_events_url":"https://api.github.com/users/objorke/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T07:56:55Z","updated_at":"2015-06-09T07:56:55Z","body":"It would be great to see more interpolation algorithms implemented! Currently we are using a cardinal (canonical) spline applied to the points in screen space:\r\nhttp://en.wikipedia.org/wiki/Cubic_Hermite_spline#Cardinal_spline\r\nhttps://msdn.microsoft.com/en-us/library/4cf6we5y.aspx\r\nhttp://www.charlespetzold.com/blog/2009/01/Canonical-Splines-in-WPF-and-Silverlight.html\r\n\r\nOther splines:\r\nhttps://en.wikipedia.org/wiki/B-spline\r\nhttp://en.wikipedia.org/wiki/Cubic_Hermite_spline\r\nhttp://en.wikipedia.org/wiki/Centripetal_Catmull%E2%80%93Rom_spline\r\n\r\n"}}