Jump to content
Software FX Community

download chart to client machine


Recommended Posts


I am writing a web application that produces charts.  I want the users to be able to download the chart to their client machine.  I might think the user could simply right click the chart and find an option "Save Target As", but this does not appear to be the case.  I then thought of exporting the chart to a jpg file on the web server and providing a hyperlink to the file, but my company does not allow web apps to write to disk on the web server for security reasons.  Any help on how to do this?


Link to comment
Share on other sites

If you are rendering the chart as .NET, you can simply enable the MenuBar; under the File menu, you have the Save Chart option which allows you to save the chart image to Bitmap format, save the chart to binary (.cfx), to a text file (data only), as well as to save the chart to an XML file (properties only). Please note that this will require the client-machines to have the .NET Framework installed and set to "Full Trust".

You can alternatively show a static image. When right clicking on this image, you will have the Save Image As option.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...