-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
How to represent a null value,It's like the picture? not 0 #3052
Comments
If you're working in Swift, and you encounter a nil value, then add error trapping to still add a nil value; something like the following would maybe work I'm surprised the application didn't crash when the chart had to deal with the null (nil value). Since nil is not a valid chart value, the chart can't do anything with it, hence an empty space. It is your job to deal with nil values. |
You don't understand what I mean.I mean, how to achieve this effect,like the picture? |
Oh, I gotcha. Have you tried using |
use 2 dataset it's simple |
@HudsonGraeme I've tried this way, But the Bouble type doesn't match.I've done by The way that @thierryH91200 provided thank you very mach |
@guoyutao Glad you have it working, sorry I wasn't of much help. |
@thierryH91200 That's a good idea! |
@guoyutao How did you achieve that, I also encountered a similar problem, can answer in detail |
The text was updated successfully, but these errors were encountered: