I figured out what the root cause was. The problem itself was only
evident if the .ipa that was running on my phone was built by
exporting a release build. If I built the .ipa doing the fast build
then the graphs rendered fine.
What seemed to be the cause were lines in the commitProperties
function in DataCanvas that I think the adobe compiler was errantly
optimizing out.
For example, take this line:
for (i = _backgroundSprites.length-1; i<backgroundGeometries.length; i+
+) {
I checked the values of _backgroundSprites.length and
backgroundGeometries.length and they would both be what I would
expect, and they definitely should have caused the body of the for
loop to be executed, however the body of the for loop was completely
skipped over.
If I changed that line to this:
var bgSpritesLen:int = _backgroundSprites.length-1;
var bgGeoLen:int = backgroundGeometries.length;
i=0;
for (i = bgSpritesLen; i < bgGeoLen; i++) {
then the body of the for loop would execute and the graph would render
properly. I really wish I knew why that worked.
I didn't test it, but I assume the equivalent loop for
foregroundGeometries in the same function suffers that same problem.