Skip to content

Crash: removedChildren count (0) was not what we expected (1) in iOS #62

@iamitkhatkar

Description

@iamitkhatkar

I am using LineChart with bezier and its working fine in android but showing error
in iOS. App is getting data from firebase then it updates the states. chart renders correctly in android but crashes on ios

`<LineChart

data={{
  labels: this.state.chartLable,
  datasets: [{
    data: this.state.chartData
  }]
}} 
width={wp('96%')} 
height={220}
chartConfig={{
  backgroundColor: '#26d292',
  backgroundGradientFrom: '#22c393',
  backgroundGradientTo: '#22e093',
  decimalPlaces: 2, // optional, defaults to 2dp
  color: (opacity = 1) => `rgba(255, 255, 255, ${opacity})`,
  style: {
    borderRadius: 16,
  }
}}
bezier
style={{
  marginVertical: 8,
  borderRadius: 16,
}}

/>`

screenshot 2018-11-14 at 12 31 08 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions