Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: unexpectedly found nil while unwrapping an Optional value error when I set barChartView.noDataText #833

Closed
patcharaploy opened this issue Mar 11, 2016 · 3 comments

Comments

@patcharaploy
Copy link

Hello experts,

I am totally new to this library. I tried to follow the tutorial: http://www.appcoda.com/ios-charts-api-tutorial/.
However after installing via cocoa pods the library to my project and type

barChartView.noDataText = "You need to provide data for the chart."

I got the EXEC_BAD_INSTRUCTION error as shown in the below image.

screen shot 2559-03-11 at 2 42 21 pm

Please suggest me where I am wrong.

P.S. I already set the view inside of BarChartView as
Class: BarChartView
Module: Charts

P.S. Actually, the noDataTextDescription method and others also doesn't work.

@patcharaploy patcharaploy changed the title barChartView.noDataText doesn't work fatal error: unexpectedly found nil while unwrapping an Optional value error when I set barChartView.noDataText Mar 11, 2016
@patcharaploy
Copy link
Author

Sorry everyone, I got what I am wrong now.

@franigam
Copy link

And what is it?

@rivountain
Copy link

got same trouble...T_T...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants