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

noDataTextDescription not display #906

Closed
dzungpv opened this issue Apr 1, 2016 · 6 comments
Closed

noDataTextDescription not display #906

dzungpv opened this issue Apr 1, 2016 · 6 comments

Comments

@dzungpv
Copy link

dzungpv commented Apr 1, 2016

I tested latest sample, when no data fill, the text not display.

@danielgindi
Copy link
Collaborator

This will show only when data is nil. It is meant for when you put your first chart view - and want to see what happens...

@dzungpv
Copy link
Author

dzungpv commented Apr 3, 2016

It not like in Android API, which show the message when data is empty.
I like that feature because in one of my app user must wait some hours before app collect data and display.

@danielgindi
Copy link
Collaborator

Look closer in Android's code:
if (mData == null) {

@dzungpv
Copy link
Author

dzungpv commented Apr 3, 2016

But in Android it show the message and iOS not, i mean null or empty data. That why i open this issues.

@pmairoldi
Copy link
Collaborator

You can set data to nil when your data point count is equal to 0

@dzungpv
Copy link
Author

dzungpv commented Apr 8, 2016

Thank @petester42 It ok now when i set data to nil.

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