-
10 Nov 2012 4:55 AM #1
Unanswered: 2.1 Charts crash iPad 3, not iPad Mini -- can we disable retina?
Unanswered: 2.1 Charts crash iPad 3, not iPad Mini -- can we disable retina?
Seeing 100% repeatable crash with Charts 2.1 on an iPad 3 after adding two simple gauge charts to one tab and a simple line chart with 3 series to another tab.
Interestingly, it does NOT crash an iPad mini fresh out of a box. Surprising as there is only 512MB in the mini and 1GB in the iPad 3. I suspect this is related to charts using retina, as the same charts do NOT crash the iPad 3 under charts 2.0.
Thoughts? What I really want is to disable retina in charts. Possible?
I have a demo next week so a bit worried about this.
-
10 Nov 2012 6:02 AM #2
Forcing non-retina works for me
Forcing non-retina works for me
Update:
changing line 96 of src/draw/Surface.js from:
toCode:devicePixelRatio: window.devicePixelRatio,
helps the crashing issue for me. Charts are, of course, less sharp, but it helps. Still crashes on rotation, if I use the legend to hide and show a series multiple times, or if I go back and forth between bottom tabs with charts on them. It feels as if each time I go back and forth, another copy of the chart is loaded....Code:devicePixelRatio: 1,
The really strange thing is, on the iPad mini, everything is silky smooth. Can't get it to crash. Seems faster too.
-
10 Nov 2012 7:28 AM #3
Disabling tab panel animation also helps
Disabling tab panel animation also helps
This seems to have helped greatly as well:
Now I can switch tab panel buttons between charts endlessly on the iPad 3 without issue.Code:layout: { animation: false },


Reply With Quote