ChartsOrg / ChartsOrg/Charts

Barchart Animation type easeInBack crashes

Open
#3,340 3 comments 1 reaction 0 assignees View on GitHub
bug help wanted
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

I have extension extension
```
BarChartView {

private class BarChartFormatter: NSObject,IAxisValueFormatter {

var values : [String]
required init (values : [String]) {
self.values = values
super.init()
}


func stringForValue(_ value: Double, axis: AxisBase?) -> String {
return values[Int(value)]
}
}

func setChartValues (xAxisValues : [String] , values : [Double],label : String) {

var barChartDataEntries = [BarChartDataEntry]()

for i in 0.. Fatal error: Can't form Range with upperBound < lowerBound

(lldb) po dataSet.entryCount
12

(lldb) po animator.phaseX
-0.085005447941268492

Please solve this issue

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.