Yes, you have to copy open-flash-chart.js to the directory where open-flash-chart.swf is located, not rename it to expressInstall.js (where did you get this idea? ;-)).
It seems you didn't patch your original Web site (of course), so I'll test my local setup on an iPad and report back.
Seems it does not load the open-flash-chart.js at all, and then the inline script fails.
Was that the result on your own Web page or on my version? Could you try the other one?
I see. Your site works in principle on my iPad 2: it takes quite a while to process the first three plugins and seems to fail on the fourth one. They sure need a lot of resources. Maybe it is just too much, especially for the iPhone? Which iPhone / iOS version did you test on?
To keep resource needs more reasonable, I'd have to find a way to reuse the Jooflash code when there are multiple plugins on the same page. open-flash-chart.js is 800 kB large, and drawing into a canvas is not very efficient on iOS < 5.1... Maybe for the time being you have to set up a mobile version of your site where there is only one diagram per page...
Hi Frank,This page is the one i'm most interested. http://www.e2fb.nl/zphp/dag_overzicht_vergelijk.php. Strange enough this one also generates 4 javascript errors on my iphone , but as far as I know there is only one swf on this page.I own a iphone4 (not the s) running on ios 5.1.1 which is the latest version.
I think letting the tooltips disappear is the easiest fix, I'll get a try on this!
The footprint is larger since for testing, I used the full JooFlash version, not the one optimized for OFC. That'll change in the final version. Leaving out some graphs would of course reduce the footprint even more. Do you have a target size (say < 200 kB)?
Great you made the new version.Just started a new school year, resulting in a overall lack of spare time so the new version will have to wait until the weekend :-(
Do yo see any possibilities in reducing the footprint, or are you out of ideas? (because of this remark: I need a better approach to optimize Jangaroo-generated JS code!)
Just installed the new version on http://www.e2fb.nl/zonphp. Great to see the index.php page (with the 4 flash objects) loads without problems on an iPhone 4! This is an improvement.
You did something on the image aspect? It looks a bit wider. Although I would like it to resize it a bit more to the size you can see here http://www.e2fb.nl/zonphp/nodagv.php which is an adapted frontend I use to wrap in my website.
On Monday, 27 August 2012 08:57:58 UTC+2, Eric Plankeel wrote:Just installed the new version on http://www.e2fb.nl/zonphp. Great to see the index.php page (with the 4 flash objects) loads without problems on an iPhone 4! This is an improvement.
Yes, I hard-wired the size of your charts into the [SWF] annotation of Jangaroo's Open Flash Chart main class. In open-flash-chart.js, just search for 550 or 305 and replace it with the width / height you want. Currently, the same size is used for all diagrams.Of course, this is not the way it should be. Instead, JooFlash should read the desired size from the swfobject parameters. That's my next item on the JooFlash road map, including "100%" width / height and resize events!Greetings
-Frank-
No idea how to properly go about this.. But for the life of me I can't seem to find the height and width settings in open-flash-chart.js I'm I missing something. I've got everything I needed to work following this thread, except the those parameters... Not seeing 550 or 305 anywhere.
Hi Frank,
Both http://www.e2fb.nl/zonphp/nomaandv.php and http://www.e2fb.nl/zonphp/nodagv.php get there size from the same variable in the sql database. The first displays correct at 100%, the latter will not.
On Monday, 10 December 2012 21:27:55 UTC+1, Eric Plankeel wrote:
Both http://www.e2fb.nl/zonphp/nomaandv.php and http://www.e2fb.nl/zonphp/nodagv.php get their size from the same variable in the sql database. The first displays correct at 100%, the latter will not.
After some optimizing the site runs fine on the iPad for almost a year now. Any new versions to be implemented? I have a wish, which is OFC related. I want to have a transparent background on the charts. As far my knowledge goes, I have to decompile the .swf file? Any free tools to do this on a mac? And then? And how to get this in JooFlash?
Regards,
Eric