-
-
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
Graph doesn't display on older iPads #1954
Comments
well.. It should have nothing to do with older iPad, just the iOS version and APIs.. And you are the first one to report this. |
Sorry Xuan, I erroneously thought I had specified that, surprisingly, it's not an iOS-related issue. In fact the graph works as expected on iPad Air 2 with 9.3 (to name one), and not on an iPad 2 with 9.3 as well. Later I'll post the relevant code bits, I'm not at home now. |
Interesting.. don't forget to add a screenshot for iPad 2. And if you can debug more, please do it, that will help because I don't have iPad 2 (simulator neither). |
I narrowed it down. My scenario is that I was using TimeInterval values for the X axis, and strange things happen when X values are so huge and lie within a small range. Here's the relevant code:
Looks fine on iPad Pro: Not quite on iPad Retina: Now, I can use a different X mapping, but it may still be something you want to look into. |
The three values used for the second chart are: Notice that two of them are equal, but it shouldn't be a problem. The values are NSTimeIntervals. |
I spent a few hours before posting this. My graph performs pretty well on all devices, except older iPads, where it doesn't appear at all. Actually the y-axis seems to update to the new data sets, only the graph isn't being drawn. This applies to both a real device (iPad 2) and simulators (iPad 2, iPad Retina).
Thanks in advance.
The text was updated successfully, but these errors were encountered: