{"action":"created","issue":{"url":"https://api.github.com/repos/danielgindi/Charts/issues/3365","repository_url":"https://api.github.com/repos/danielgindi/Charts","labels_url":"https://api.github.com/repos/danielgindi/Charts/issues/3365/labels{/name}","comments_url":"https://api.github.com/repos/danielgindi/Charts/issues/3365/comments","events_url":"https://api.github.com/repos/danielgindi/Charts/issues/3365/events","html_url":"https://github.com/danielgindi/Charts/issues/3365","id":308681473,"number":3365,"title":"If the values are close, the chart won't animate","user":{"login":"rptoma","id":19636974,"avatar_url":"https://avatars0.githubusercontent.com/u/19636974?v=4","gravatar_id":"","url":"https://api.github.com/users/rptoma","html_url":"https://github.com/rptoma","followers_url":"https://api.github.com/users/rptoma/followers","following_url":"https://api.github.com/users/rptoma/following{/other_user}","gists_url":"https://api.github.com/users/rptoma/gists{/gist_id}","starred_url":"https://api.github.com/users/rptoma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rptoma/subscriptions","organizations_url":"https://api.github.com/users/rptoma/orgs","repos_url":"https://api.github.com/users/rptoma/repos","events_url":"https://api.github.com/users/rptoma/events{/privacy}","received_events_url":"https://api.github.com/users/rptoma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-26T18:18:06Z","updated_at":"2018-03-27T11:34:58Z","closed_at":null,"author_association":"NONE","body":"* [x] I've read, understood, and done my best to follow the [*CONTRIBUTING guidelines](https://github.com/jjatie/Charts/blob/master/CONTRIBUTING.md).\r\n\r\n## What did you do?\r\nI have a BarChartView with two data entries with the values (1, 1000000) and (2, 1000100). I try to animated the chart.\r\n\r\n## What did you expect to happen?\r\nThe chart doesn't get animated.\r\n\r\n## What happened instead?\r\nIf the command is like barChartView.animate(xAxisDuration: 2, yAxisDuration: 2), there will be an empty chart for 2 seconds, that suddenly appears with no animations.\r\nIf the values were more far apart (for example, 1000000 and 10), the animation would've worked.\r\n\r\n## Charts Environment\r\n\r\n**Charts version/Branch/Commit Number:**\r\n**Xcode version:** 9\r\n**Swift version:** 4\r\n**Platform(s) running Charts:** iOS\r\n**macOS version running Xcode:** High Sierra\r\n\r\n## Demo Project\r\nhttps://gist.github.com/rptoma/37cef9c394161dcd074e59a678a0e79c\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/danielgindi/Charts/issues/comments/376492432","html_url":"https://github.com/danielgindi/Charts/issues/3365#issuecomment-376492432","issue_url":"https://api.github.com/repos/danielgindi/Charts/issues/3365","id":376492432,"user":{"login":"thierryH91200","id":6251463,"avatar_url":"https://avatars2.githubusercontent.com/u/6251463?v=4","gravatar_id":"","url":"https://api.github.com/users/thierryH91200","html_url":"https://github.com/thierryH91200","followers_url":"https://api.github.com/users/thierryH91200/followers","following_url":"https://api.github.com/users/thierryH91200/following{/other_user}","gists_url":"https://api.github.com/users/thierryH91200/gists{/gist_id}","starred_url":"https://api.github.com/users/thierryH91200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thierryH91200/subscriptions","organizations_url":"https://api.github.com/users/thierryH91200/orgs","repos_url":"https://api.github.com/users/thierryH91200/repos","events_url":"https://api.github.com/users/thierryH91200/events{/privacy}","received_events_url":"https://api.github.com/users/thierryH91200/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T11:34:58Z","updated_at":"2018-03-27T11:34:58Z","author_association":"CONTRIBUTOR","body":"the problem is the same with\r\n       ```\r\n let yVals = [BarChartDataEntry(x: 1, y: 1000 ), BarChartDataEntry(x: 2, y: 1010 )]\r\n        barChartView.leftAxis.axisMinimum = 1000\r\n```\r\n\r\nbut not with \r\n\r\n     barChartView.leftAxis.axisMinimum = 0\r\n\r\n"}}
{"actor":{"display_login":"thierryH91200"}}