{"action":"created","issue":{"url":"https://api.github.com/repos/indiespirit/react-native-chart-kit/issues/27","repository_url":"https://api.github.com/repos/indiespirit/react-native-chart-kit","labels_url":"https://api.github.com/repos/indiespirit/react-native-chart-kit/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/indiespirit/react-native-chart-kit/issues/27/comments","events_url":"https://api.github.com/repos/indiespirit/react-native-chart-kit/issues/27/events","html_url":"https://github.com/indiespirit/react-native-chart-kit/issues/27","id":344387175,"node_id":"MDU6SXNzdWUzNDQzODcxNzU=","number":27,"title":"NaN if all data is equal to 0.","user":{"login":"mikerodham","id":7014362,"node_id":"MDQ6VXNlcjcwMTQzNjI=","avatar_url":"https://avatars1.githubusercontent.com/u/7014362?v=4","gravatar_id":"","url":"https://api.github.com/users/mikerodham","html_url":"https://github.com/mikerodham","followers_url":"https://api.github.com/users/mikerodham/followers","following_url":"https://api.github.com/users/mikerodham/following{/other_user}","gists_url":"https://api.github.com/users/mikerodham/gists{/gist_id}","starred_url":"https://api.github.com/users/mikerodham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikerodham/subscriptions","organizations_url":"https://api.github.com/users/mikerodham/orgs","repos_url":"https://api.github.com/users/mikerodham/repos","events_url":"https://api.github.com/users/mikerodham/events{/privacy}","received_events_url":"https://api.github.com/users/mikerodham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-07-25T10:32:23Z","updated_at":"2018-08-27T08:03:40Z","closed_at":null,"author_association":"NONE","body":"In my use case I specifically capture items over the last ten days. If nothing has happened in those ten days the graph will look like this:\r\n\r\n![img_36453144ebdf-1](https://user-images.githubusercontent.com/7014362/43195893-42a44772-8ffe-11e8-8d3c-87ff3ba1fb63.png)\r\n\r\nAs you can see in the bottom left corner it displays `NaN` when it should display `0`.\r\n\r\nHere is my data from the server.\r\n```\r\nlabels: [],\r\ndatasets: [{\r\n  data: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]\r\n}]\r\n```\r\n\r\n\r\nEdit:\r\n\r\nAlso is there any choice for whole numbers only down the Y axis?"},"comment":{"url":"https://api.github.com/repos/indiespirit/react-native-chart-kit/issues/comments/416148208","html_url":"https://github.com/indiespirit/react-native-chart-kit/issues/27#issuecomment-416148208","issue_url":"https://api.github.com/repos/indiespirit/react-native-chart-kit/issues/27","id":416148208,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjE0ODIwOA==","user":{"login":"BrightonWeBill","id":33026951,"node_id":"MDQ6VXNlcjMzMDI2OTUx","avatar_url":"https://avatars0.githubusercontent.com/u/33026951?v=4","gravatar_id":"","url":"https://api.github.com/users/BrightonWeBill","html_url":"https://github.com/BrightonWeBill","followers_url":"https://api.github.com/users/BrightonWeBill/followers","following_url":"https://api.github.com/users/BrightonWeBill/following{/other_user}","gists_url":"https://api.github.com/users/BrightonWeBill/gists{/gist_id}","starred_url":"https://api.github.com/users/BrightonWeBill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrightonWeBill/subscriptions","organizations_url":"https://api.github.com/users/BrightonWeBill/orgs","repos_url":"https://api.github.com/users/BrightonWeBill/repos","events_url":"https://api.github.com/users/BrightonWeBill/events{/privacy}","received_events_url":"https://api.github.com/users/BrightonWeBill/received_events","type":"User","site_admin":false},"created_at":"2018-08-27T08:03:40Z","updated_at":"2018-08-27T08:03:40Z","author_association":"NONE","body":"The same error occurs when the data is the same number. Has there been a fix for it?"}}
{"actor":{"display_login":"BrightonWeBill"}}