Sign in to follow this  
Krishna_Solanki

Name for the saved images.

Recommended Posts

Guest Basundhara Ghosal

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

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

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

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

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

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
Guest Basundhara Ghosal

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this