steveddei Report post Posted September 10, 2009 Hi, I have a page with 50+ dynamically created charts using javascript encodeDataURL and renderChart functions along with php to generate the xml data. I was having problem with the charts not all drawing completely until i disable the cache by using encodeDataURL("data_el_otd_12m.php?, true); My problem is that it is still taking a long time to display all the charts. Is it possible to auto generate the chart jpg on first load, then use those images from then on in place of the flash? Most likely i would want to name the chart jpg with the date and only regenerate the charts if the date is old x amount of days. Share this post Link to post Share on other sites
Guest Madhumita Report post Posted September 11, 2009 Hello, This is the recommended modus operandi, i.e. as a maximum number- 30+ charts display on a single page. Otherwise it'll always have a problem loading all the charts, as you have noted in the removal of the cache memory. Furthermore, exporting images in PHP is not supported, as yet. However, this feature is available in .NET, where you have to render the charts client-side before exporting the images server-side. Share this post Link to post Share on other sites
steveddei Report post Posted September 22, 2009 (edited) Is this a limitation of flash/browser then? I understand this is a lot for a browser to process. I also have the FusionWidget license, do you know if using the small Spark Charts would be any better? BTW i noticed that my php package includes a FCExporter_IMG.php file. wont this handle the export? if so, i can export and save on the server. if the image is located on the server, i could display the image, if not, i could render the chart. will that file work? Edited September 22, 2009 by Guest Share this post Link to post Share on other sites
Rahul Kumar Report post Posted September 23, 2009 Hi Is this a limitation of flash/browser then? I understand this is a lot for a browser to process. >>>>> Yes, you are right. I also have the FusionWidget license, do you know if using the small Spark Charts would be any better? >>>>> Yes, it will give more stable result since it takes less memory. BTW i noticed that my php package includes a FCExporter_IMG.php file. wont this handle the export? if so, i can export and save on the server. if the image is located on the server, i could display the image, if not, i could render the chart. will that file work? >>>>> FCExporter_IMG.php can be used to save the chart image file in server, But you would need to render the chart. Share this post Link to post Share on other sites
steveddei Report post Posted September 23, 2009 Thank you for your help. I will try both methods. Share this post Link to post Share on other sites
Guest Rajroop Report post Posted September 24, 2009 Hi, Looking forward to your feedback on this. Share this post Link to post Share on other sites