Krishna_Solanki Report post Posted October 31, 2009 Hi, I am saving the charts as images on page load in a folder. These charts get saved with a random name. I want to give a name to these images while saving. Thanks, Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted October 31, 2009 Hi Krishna, Could you please try it using "exportFlieName" attribute in the chart element of your XML page. Ref:-<chart...exportFileName='file name of your choice'> Hope this helps. Share this post Link to post Share on other sites
Krishna_Solanki Report post Posted November 10, 2009 Hi, I tried this, but this is not working. The images are saving by random names like "FusionCharts_21ecf787-13b5-4e18-ad58-a17808ea5341_1011200915433390.jpg" I need to save these images by name from database. Please help. Thanks, Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted November 10, 2009 Hi Krishna, Could you please let us know the scripting language that you are using so that we might look into it? Awaiting your reply. :hehe: Share this post Link to post Share on other sites
Krishna_Solanki Report post Posted November 10, 2009 If you are asking about the language , it is ASP.net with C# . And Scripting language is Java Script. My problem is, i am saving all the charts as image at the time of loading. And i need to save these images by a name from database. Thanks, Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted November 10, 2009 Hi Krishna, Could you please try it using the following steps:- 1)private bool OVERWRITEFILE = true;(line 133 of FCExporter.aspx.cs) 2)private bool INTELLIGENTFILENAMING = false;(line 134 of FCExporter.aspx.cs) Hope this helps. Share this post Link to post Share on other sites
Krishna_Solanki Report post Posted November 10, 2009 Hi, I tried this but now only one image save into the folder always with name "fusioncharts.jpg". There are 9 charts but only one chart get saved as image. Thanks, Share this post Link to post Share on other sites
FusionCharts Support Report post Posted November 10, 2009 Hi, Could you please make sure that you are passing different file name for each chart? If you pass the same name for all 9 charts it might be that you are asking each chart to save to one single file, hence, the last exported chart remains as the exported image. Share this post Link to post Share on other sites
Krishna_Solanki Report post Posted November 10, 2009 I am passing the different file name for each chart as "1", "2", "3", "4" ... Thanks, Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted November 10, 2009 Hi Krishna, Could you please send us the generated values for the "exportFileName" attribute for each of the chart? Else, could you please send us the generated XML files(9) that you are using so that we might look into it? Waiting for your reply. :hehe: Share this post Link to post Share on other sites
Krishna_Solanki Report post Posted November 10, 2009 Attached file contains the 9 xml files. xmlfiles.doc Share this post Link to post Share on other sites
FusionCharts Support Report post Posted November 10, 2009 Hi Krishna, I apologize for the typo that Basundhara did in the earliest post. She wrote: "exportFlieName" which should be "exportFileName" And I find that your XML is actually containing this mistake too. Please use exportFileName attribute name and give it a try. Hope things will woke out fine now. Share this post Link to post Share on other sites
Krishna_Solanki Report post Posted November 10, 2009 Hi, Thanks for the time and response. I just copied the text from forum and paste it to the code. I should check it. Now the images get saved by the name from database. Thank you, Share this post Link to post Share on other sites
Guest Madhumita Report post Posted November 10, 2009 Hello, That is great. Glad that we could help you. Happy FusionCharting. Share this post Link to post Share on other sites