You are not logged in.
Right-click on the chart and choose "Export as image" from the menu. The chart will collect image data, and offer you to save the chart as a JPG image.
You can trigger it by calling flashMovie.exportImage([file_name])
How to convert image file and save in my directory?
There is export.php file in amcharts/flash folder. You can change image format there, this line: $imgtype = 'jpeg';
Could you explain where do you want to save the image - on a server or in user's computer?
Thank you for your help!
Please ask a question,
I will create 6000 figure files.
The files are saved the directory of the web server server.
Calls function (flashMovie.exportImage ('../../ amradar / export.aspx ');), to produced 6000 figure files.
I encountered problems:
The system will pop-up window, asking me to press save or cancel
Are there any other way to solve?
Check this topic, there is a solution in last post: http://www.amcharts.com/forum/viewtopic.php?id=509
I do not know how to save the generated image file on the server hard drive without user intervention.
I mean the image file to be automatically saved without user to be prompted where he wants to save the file.
I mean, How to modify the "export.aspx.cs" .
Is OK! Thank your!
Modify the export.aspx.cs
//Cancel this line
Response.AddHeader("Content-Disposition", "attachment; filename=\"amchart.jpg\"");
//server c disk
result.Save("c:\\YourImage.jpeg", img_encoder, enc_params);