tvinzant Report post Posted September 15, 2009 (edited) I have almost achieved perfection with the evaluation version of FusionCharts 3. But I still need some changes to make it meet my requirements. I need to generate as many as 9 different charts and graphs in a single batch process. Ultimately I'll be doing hundreds of separate processes in one single job. 1. I need it to work without repetitive mouse clicks. I can do (1) mouse click to get it started if I have to, but I'd prefer no mouse clicks at all. 2. I need to to be able to read an external XML file (that's working in my current test file that initiates the javascript) 3. I need to be able to use a mixture of Column2D, MultiColumn2D, Pie, Scatter, Line charts all in one batch. I'd like to designate specific charts in my XML perhaps? Is that possible or is there another way to accomplish this? 4. The exported files need to be saved as PDF files. (that's working) 5. The exported PDFs need to be saved as individual files. I do not want them to be saved as one big collection of images. They must be separate PDF files. 6. I need to print these out on US Letter 8.5in x 11in Landscape. In order to maintain the highest quality image, I'd like to export the graph to be created optimized for maximum size that would fit on the US Letter Landscape page. I'm assuming that 72pixels go in one inch. So I should export to 720 width x 540 height? Is that correct? ( I can continue t play with the pixels until I find what fits best, I was just hoping that someone had already identified the correct numbers) 7. Is there a way to add text on top of a specific point on a graph? Thank you in advance time and patience. Edited September 16, 2009 by Guest Share this post Link to post Share on other sites
tvinzant Report post Posted September 16, 2009 Getting a little desperate. I'm needing answers badly now. We've purchased a developers license to show good faith. We're serious about purchasing a Professional license, but we have to resolve these last few questions before we can proceed. Your assistance in regards to these last few outstanding issues would be greatly appreciated. Thank you. Share this post Link to post Share on other sites
tvinzant Report post Posted September 17, 2009 3rd day posting looking for a reply. Share this post Link to post Share on other sites
shamasis Report post Posted September 17, 2009 (edited) ... We have prepared a sample application for you that would do server-side exporting of multiple charts using only one mouse click. We have developd two sample PHP application that (1) starts exporting multple charts automatically upon page load and (2) updates same chart multiple number of times and exports it one after the other. The demos export as image. You can set it to export as PDF just as you have done earlier. autoupdate_generate_dataxml.zip server-side_batch_export.zip Edited September 17, 2009 by Guest Share this post Link to post Share on other sites
FusionCharts Support Report post Posted September 17, 2009 1. I need it to work without repetitive mouse clicks. I can do (1) mouse click to get it started if I have to, but I'd prefer no mouse clicks at all. >> Yes, you can do with 1 mouse click. Raise a JavaSCript that calls exportChart() for all charts present in the page. Your code architecture should keep a list of all rendered chart ids. You can also do it when all chart has finished rendering. Again keep a list of all chart DOMIds and set flag for rendered charts and once all are rendered call exportChart() JS function for all charts using getChartFromId(DOMId).exportChart(). 2. I need to to be able to read external XML files (that's working in my current go.php file) >> DONE 3. I need to be able to use a mixture of Column2D, MultiColumn2D, Pie, Scatter, Line charts all in one batch. I'd like to designate specific charts in my XML perhaps? Is that possible or is there another way to accomplish this? >> Yes you can . Just try and see how easy it is. the XML structure for Single Series charts are different from Multiseires charts. You can get this all in our extensive Documentation. 4. The exported files need to be saved as PNG files. (that's working) >> This you already have achieved I suppose. If you have achieved in one. You can do it for all charts. 5. The exported PNGs need to be saved as individual images. I do not want time saved as one big collection of images. They must be separate PNG files. >> Yes, There is not server side batch as such. You need to call server side export for all charts individually. So, each chart gets exported to its own single individual file. 6. I am confident I can control the filenames as desired, however it appears that the SESSION ID and the TIMESTAMP are still getting added in if there is already a file there. The OVERWRITE isn't working as expected. What do I do to resolve that. I want an overwrite to occur. >> Still you can control. The export handler code is open source and its open to you. Please modify the generateIntelligentFileId() function in FCExporter.php as you wish and you are done. Also see the line calling this function: $retServerStatus ['filepath' ] = realpath($path). '/' . $exportFile . "_" . generateIntelligentFileId() . $ext; Modify this as per your requirements. Share this post Link to post Share on other sites