index out range error show then change ur code in xcode
line no.872
let yValue = Vals.isEmpty?0.0:Vals[idx % Val's.count]
edit line 875
yVlaue
react-native-charts-wrapper if your faceing swift error then update you xcode and macOS version