{"action":"closed","issue":{"url":"https://api.github.com/repos/highcharts/highcharts/issues/3571","repository_url":"https://api.github.com/repos/highcharts/highcharts","labels_url":"https://api.github.com/repos/highcharts/highcharts/issues/3571/labels{/name}","comments_url":"https://api.github.com/repos/highcharts/highcharts/issues/3571/comments","events_url":"https://api.github.com/repos/highcharts/highcharts/issues/3571/events","html_url":"https://github.com/highcharts/highcharts/issues/3571","id":48069157,"number":3571,"title":"NaN point value makes series disappear","user":{"login":"albhilazo","id":3046604,"avatar_url":"https://avatars.githubusercontent.com/u/3046604?v=3","gravatar_id":"","url":"https://api.github.com/users/albhilazo","html_url":"https://github.com/albhilazo","followers_url":"https://api.github.com/users/albhilazo/followers","following_url":"https://api.github.com/users/albhilazo/following{/other_user}","gists_url":"https://api.github.com/users/albhilazo/gists{/gist_id}","starred_url":"https://api.github.com/users/albhilazo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albhilazo/subscriptions","organizations_url":"https://api.github.com/users/albhilazo/orgs","repos_url":"https://api.github.com/users/albhilazo/repos","events_url":"https://api.github.com/users/albhilazo/events{/privacy}","received_events_url":"https://api.github.com/users/albhilazo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/highcharts/highcharts/labels/Undecided","name":"Undecided","color":"009800"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2014-11-07T10:42:33Z","updated_at":"2016-07-22T13:02:02Z","closed_at":"2016-07-22T13:02:02Z","body":"Didn't find any report on this issue so here it goes.\r\nhttp://jsfiddle.net/993ee7cx/\r\nIf an area or line series has a point with 'NaN' value, the whole line disappears. In the previous example you can see the points, but for series with hundreds of points you can only see the tooltip.\r\nhttp://jsfiddle.net/993ee7cx/1/\r\n\r\nNull values seem to be controlled, but since [Error #14](http://www.highcharts.com/errors/14) recommends the use of 'parseFloat()' and [it returns NaN for null values](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseFloat#Description) it can be a problem for DB retrieved data.\r\n\r\nFor the time being I went around it with a simple check\r\n```\r\nseriesdata.push({\r\n    'data': [ ( (isNaN(parseFloat(stringval))) ? null : parseFloat(stringval) ) ]\r\n});\r\n```"}}
{"actor":{"display_login":"TorsteinHonsi"}}