ChartsOrg / ChartsOrg/Charts

Unexpected crash while setting chart view

Open
#3,970 5 comments 3 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

I am facing this weird issue suddenly.
I am using V3.3.0 via carthage but my main project is still using Swift 4.2
So the issue is my app crashes upon this line

`let dataEntry = BarChartDataEntry(x: Double(i), y: Double(forY[i]), data: self.daysName as AnyObject?)`

And there is just one error message on console `Message from debugger: Terminated due to signal 9` and that's so weird, I cant find out actual reason of crash.
Sometimes it does work but most of the time it crashes.

I have also checked about the types of the values and all are correct.
Still I cant find out why its crashing.

Am I missing something?
Please help.
Thanks

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.