{"action":"opened","issue":{"url":"https://api.github.com/repos/dima117/Chart.Scatter/issues/13","labels_url":"https://api.github.com/repos/dima117/Chart.Scatter/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/dima117/Chart.Scatter/issues/13/comments","events_url":"https://api.github.com/repos/dima117/Chart.Scatter/issues/13/events","html_url":"https://github.com/dima117/Chart.Scatter/issues/13","id":90671235,"number":13,"title":"Line drawing issue","user":{"login":"Teddy-Schmitz","id":4371545,"avatar_url":"https://avatars.githubusercontent.com/u/4371545?v=3","gravatar_id":"","url":"https://api.github.com/users/Teddy-Schmitz","html_url":"https://github.com/Teddy-Schmitz","followers_url":"https://api.github.com/users/Teddy-Schmitz/followers","following_url":"https://api.github.com/users/Teddy-Schmitz/following{/other_user}","gists_url":"https://api.github.com/users/Teddy-Schmitz/gists{/gist_id}","starred_url":"https://api.github.com/users/Teddy-Schmitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Teddy-Schmitz/subscriptions","organizations_url":"https://api.github.com/users/Teddy-Schmitz/orgs","repos_url":"https://api.github.com/users/Teddy-Schmitz/repos","events_url":"https://api.github.com/users/Teddy-Schmitz/events{/privacy}","received_events_url":"https://api.github.com/users/Teddy-Schmitz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-24T13:08:44Z","updated_at":"2015-06-24T13:08:44Z","closed_at":null,"body":"Hi,\r\n\r\nI am using socket.io to push new points to the chart.  When I call addpoint then update,  the line is redrawn from the first point to the new point instead of from the last point to the new point.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/4371545/8330540/80ddf7c6-1ab4-11e5-810e-090f17dda2db.png)\r\n\r\nCode is\r\n\r\n        myTempChart.datasets[0].removePoint(0);\r\n        myHumidityChart.datasets[0].removePoint(0);\r\n        myTempChart.datasets[0].addPoint(date, temperature);\r\n        myHumidityChart.datasets[0].addPoint(date, humidity);\r\n\r\n        myTempChart.update();\r\n       myHumidityChart.update();\r\n\r\nI'm stumped on what the issue might be.\r\n\r\n"}}