{"action":"created","issue":{"url":"https://api.github.com/repos/indiespirit/react-native-chart-kit/issues/62","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/62/labels{/name}","comments_url":"https://api.github.com/repos/indiespirit/react-native-chart-kit/issues/62/comments","events_url":"https://api.github.com/repos/indiespirit/react-native-chart-kit/issues/62/events","html_url":"https://github.com/indiespirit/react-native-chart-kit/issues/62","id":380565051,"node_id":"MDU6SXNzdWUzODA1NjUwNTE=","number":62,"title":"Crash: removedChildren count (0) was not what we expected (1) in iOS","user":{"login":"Amit-khatkar","id":16208872,"node_id":"MDQ6VXNlcjE2MjA4ODcy","avatar_url":"https://avatars3.githubusercontent.com/u/16208872?v=4","gravatar_id":"","url":"https://api.github.com/users/Amit-khatkar","html_url":"https://github.com/Amit-khatkar","followers_url":"https://api.github.com/users/Amit-khatkar/followers","following_url":"https://api.github.com/users/Amit-khatkar/following{/other_user}","gists_url":"https://api.github.com/users/Amit-khatkar/gists{/gist_id}","starred_url":"https://api.github.com/users/Amit-khatkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amit-khatkar/subscriptions","organizations_url":"https://api.github.com/users/Amit-khatkar/orgs","repos_url":"https://api.github.com/users/Amit-khatkar/repos","events_url":"https://api.github.com/users/Amit-khatkar/events{/privacy}","received_events_url":"https://api.github.com/users/Amit-khatkar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-14T07:12:59Z","updated_at":"2018-12-08T11:49:59Z","closed_at":null,"author_association":"NONE","body":"I am using LineChart with bezier and its working fine in android but showing error\r\nin iOS. App is getting data from firebase then it updates the states. chart renders correctly in android but crashes on ios\r\n\r\n`<LineChart\r\n\r\n    data={{\r\n      labels: this.state.chartLable,\r\n      datasets: [{\r\n        data: this.state.chartData\r\n      }]\r\n    }} \r\n    width={wp('96%')} \r\n    height={220}\r\n    chartConfig={{\r\n      backgroundColor: '#26d292',\r\n      backgroundGradientFrom: '#22c393',\r\n      backgroundGradientTo: '#22e093',\r\n      decimalPlaces: 2, // optional, defaults to 2dp\r\n      color: (opacity = 1) => `rgba(255, 255, 255, ${opacity})`,\r\n      style: {\r\n        borderRadius: 16,\r\n      }\r\n    }}\r\n    bezier\r\n    style={{\r\n      marginVertical: 8,\r\n      borderRadius: 16,\r\n    }}\r\n  />`\r\n\r\n\r\n<img width=\"340\" alt=\"screenshot 2018-11-14 at 12 31 08 pm\" src=\"https://user-images.githubusercontent.com/16208872/48465570-42ed5580-e809-11e8-9c5c-1fb959d336aa.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/indiespirit/react-native-chart-kit/issues/comments/445453482","html_url":"https://github.com/indiespirit/react-native-chart-kit/issues/62#issuecomment-445453482","issue_url":"https://api.github.com/repos/indiespirit/react-native-chart-kit/issues/62","id":445453482,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTQ1MzQ4Mg==","user":{"login":"Amit-khatkar","id":16208872,"node_id":"MDQ6VXNlcjE2MjA4ODcy","avatar_url":"https://avatars3.githubusercontent.com/u/16208872?v=4","gravatar_id":"","url":"https://api.github.com/users/Amit-khatkar","html_url":"https://github.com/Amit-khatkar","followers_url":"https://api.github.com/users/Amit-khatkar/followers","following_url":"https://api.github.com/users/Amit-khatkar/following{/other_user}","gists_url":"https://api.github.com/users/Amit-khatkar/gists{/gist_id}","starred_url":"https://api.github.com/users/Amit-khatkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Amit-khatkar/subscriptions","organizations_url":"https://api.github.com/users/Amit-khatkar/orgs","repos_url":"https://api.github.com/users/Amit-khatkar/repos","events_url":"https://api.github.com/users/Amit-khatkar/events{/privacy}","received_events_url":"https://api.github.com/users/Amit-khatkar/received_events","type":"User","site_admin":false},"created_at":"2018-12-08T11:49:59Z","updated_at":"2018-12-08T11:49:59Z","author_association":"NONE","body":"> I got the same error and it was resolved when I used the following versions together:\r\n> \"react-native-chart-kit\": \"1.1.8\",\r\n> \"react-native-svg\": \"6.2.2\"\r\n\r\nnot working :("}}
{"actor":{"display_login":"Amit-khatkar"}}