{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/kibana/issues/2750","labels_url":"https://api.github.com/repos/elasticsearch/kibana/issues/2750/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/kibana/issues/2750/comments","events_url":"https://api.github.com/repos/elasticsearch/kibana/issues/2750/events","html_url":"https://github.com/elasticsearch/kibana/pull/2750","id":55337664,"number":2750,"title":"Fixes issue with invalid=NaN in the vislib","user":{"login":"stormpython","id":3149785,"avatar_url":"https://avatars.githubusercontent.com/u/3149785?v=3","gravatar_id":"","url":"https://api.github.com/users/stormpython","html_url":"https://github.com/stormpython","followers_url":"https://api.github.com/users/stormpython/followers","following_url":"https://api.github.com/users/stormpython/following{/other_user}","gists_url":"https://api.github.com/users/stormpython/gists{/gist_id}","starred_url":"https://api.github.com/users/stormpython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormpython/subscriptions","organizations_url":"https://api.github.com/users/stormpython/orgs","repos_url":"https://api.github.com/users/stormpython/repos","events_url":"https://api.github.com/users/stormpython/events{/privacy}","received_events_url":"https://api.github.com/users/stormpython/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elasticsearch/kibana/labels/review","name":"review","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"stormpython","id":3149785,"avatar_url":"https://avatars.githubusercontent.com/u/3149785?v=3","gravatar_id":"","url":"https://api.github.com/users/stormpython","html_url":"https://github.com/stormpython","followers_url":"https://api.github.com/users/stormpython/followers","following_url":"https://api.github.com/users/stormpython/following{/other_user}","gists_url":"https://api.github.com/users/stormpython/gists{/gist_id}","starred_url":"https://api.github.com/users/stormpython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormpython/subscriptions","organizations_url":"https://api.github.com/users/stormpython/orgs","repos_url":"https://api.github.com/users/stormpython/repos","events_url":"https://api.github.com/users/stormpython/events{/privacy}","received_events_url":"https://api.github.com/users/stormpython/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/elasticsearch/kibana/milestones/3","labels_url":"https://api.github.com/repos/elasticsearch/kibana/milestones/3/labels","id":815688,"number":3,"title":"4.0.0-RC1","description":"","creator":{"login":"rashidkpc","id":1250387,"avatar_url":"https://avatars.githubusercontent.com/u/1250387?v=3","gravatar_id":"","url":"https://api.github.com/users/rashidkpc","html_url":"https://github.com/rashidkpc","followers_url":"https://api.github.com/users/rashidkpc/followers","following_url":"https://api.github.com/users/rashidkpc/following{/other_user}","gists_url":"https://api.github.com/users/rashidkpc/gists{/gist_id}","starred_url":"https://api.github.com/users/rashidkpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rashidkpc/subscriptions","organizations_url":"https://api.github.com/users/rashidkpc/orgs","repos_url":"https://api.github.com/users/rashidkpc/repos","events_url":"https://api.github.com/users/rashidkpc/events{/privacy}","received_events_url":"https://api.github.com/users/rashidkpc/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":162,"state":"open","created_at":"2014-10-06T19:58:40Z","updated_at":"2015-01-28T18:41:10Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-01-23T21:50:17Z","updated_at":"2015-01-28T20:49:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elasticsearch/kibana/pulls/2750","html_url":"https://github.com/elasticsearch/kibana/pull/2750","diff_url":"https://github.com/elasticsearch/kibana/pull/2750.diff","patch_url":"https://github.com/elasticsearch/kibana/pull/2750.patch"},"body":"Closes #2733.\r\n\r\nThe issue here occurs when there are no data values present in the selected time range. An `undefined` value is returned from the Y axis as the max value. The solution here fixes this issue by checking whether values are present and if not, throws a no results error. In order to implement the catch for the error, I added new functions to `vis.js` as well as moved methods from `handler.js` to the vis, where they seem a better fit."},"comment":{"url":"https://api.github.com/repos/elasticsearch/kibana/issues/comments/71912981","html_url":"https://github.com/elasticsearch/kibana/pull/2750#issuecomment-71912981","issue_url":"https://api.github.com/repos/elasticsearch/kibana/issues/2750","id":71912981,"user":{"login":"stormpython","id":3149785,"avatar_url":"https://avatars.githubusercontent.com/u/3149785?v=3","gravatar_id":"","url":"https://api.github.com/users/stormpython","html_url":"https://github.com/stormpython","followers_url":"https://api.github.com/users/stormpython/followers","following_url":"https://api.github.com/users/stormpython/following{/other_user}","gists_url":"https://api.github.com/users/stormpython/gists{/gist_id}","starred_url":"https://api.github.com/users/stormpython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormpython/subscriptions","organizations_url":"https://api.github.com/users/stormpython/orgs","repos_url":"https://api.github.com/users/stormpython/repos","events_url":"https://api.github.com/users/stormpython/events{/privacy}","received_events_url":"https://api.github.com/users/stormpython/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T20:49:52Z","updated_at":"2015-01-28T20:49:52Z","body":"@w33ble those are not results within the time range given to the vislib. Again, this goes back to bucketing. Those results are outside of the minimum date value given. Therefore, they are not rendered. And as such, an empty chart would be rendered which is why its given the error message you see."}}