{"action":"created","issue":{"url":"https://api.github.com/repos/danielgindi/ios-charts/issues/306","labels_url":"https://api.github.com/repos/danielgindi/ios-charts/issues/306/labels{/name}","comments_url":"https://api.github.com/repos/danielgindi/ios-charts/issues/306/comments","events_url":"https://api.github.com/repos/danielgindi/ios-charts/issues/306/events","html_url":"https://github.com/danielgindi/ios-charts/pull/306","id":101689379,"number":306,"title":"Fix for crash in the case all y values were negative and...","user":{"login":"pajai","id":490037,"avatar_url":"https://avatars.githubusercontent.com/u/490037?v=3","gravatar_id":"","url":"https://api.github.com/users/pajai","html_url":"https://github.com/pajai","followers_url":"https://api.github.com/users/pajai/followers","following_url":"https://api.github.com/users/pajai/following{/other_user}","gists_url":"https://api.github.com/users/pajai/gists{/gist_id}","starred_url":"https://api.github.com/users/pajai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pajai/subscriptions","organizations_url":"https://api.github.com/users/pajai/orgs","repos_url":"https://api.github.com/users/pajai/repos","events_url":"https://api.github.com/users/pajai/events{/privacy}","received_events_url":"https://api.github.com/users/pajai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-18T15:58:37Z","updated_at":"2015-08-19T01:50:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/danielgindi/ios-charts/pulls/306","html_url":"https://github.com/danielgindi/ios-charts/pull/306","diff_url":"https://github.com/danielgindi/ios-charts/pull/306.diff","patch_url":"https://github.com/danielgindi/ios-charts/pull/306.patch"},"body":"... startAtZeroEnabled was set. I fixed the logic to compute the yAxis range. Previously we were getting a range of 0, and since we use it when computing the transformation matrix as divisor we were getting a matrix with +Inf and NaN values which was causing a crash later on.\r\n\r\nCheers,\r\nPatrick"},"comment":{"url":"https://api.github.com/repos/danielgindi/ios-charts/issues/comments/132414327","html_url":"https://github.com/danielgindi/ios-charts/pull/306#issuecomment-132414327","issue_url":"https://api.github.com/repos/danielgindi/ios-charts/issues/306","id":132414327,"user":{"login":"liuxuan30","id":4375169,"avatar_url":"https://avatars.githubusercontent.com/u/4375169?v=3","gravatar_id":"","url":"https://api.github.com/users/liuxuan30","html_url":"https://github.com/liuxuan30","followers_url":"https://api.github.com/users/liuxuan30/followers","following_url":"https://api.github.com/users/liuxuan30/following{/other_user}","gists_url":"https://api.github.com/users/liuxuan30/gists{/gist_id}","starred_url":"https://api.github.com/users/liuxuan30/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liuxuan30/subscriptions","organizations_url":"https://api.github.com/users/liuxuan30/orgs","repos_url":"https://api.github.com/users/liuxuan30/repos","events_url":"https://api.github.com/users/liuxuan30/events{/privacy}","received_events_url":"https://api.github.com/users/liuxuan30/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T01:50:37Z","updated_at":"2015-08-19T01:50:37Z","body":"Is this fix for recent changes about startAtZeroEnabled and range calculation? Seems like older versions don't have this issue, if all y values negative. "}}