Sign in to follow this  
tnikola

saveAsImage Example

Recommended Posts

Hello, I am new with FusionCharts 3.0.6 and I need a sample how to save pie3d chart as image. I have latest version of FusionCharts.js and FusionCharts.dll<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Here is my code for building the chart:

  Public Function doChart() As String

  Dim str As String = "<chart imageSave='1' imageSaveURL='http://mydomain/a.aspx'>" & _

  "<set label='test 1' value='23' />" & _

  "<set label='test 2' value='33' />" & _

  "<set label='test 3' value='75' />" & _

  "<set label='test 4' value='34' />" & _

  "</chart>"

  Return FusionCharts.RenderChart("../charts/Pie3D.swf", "", str, "pie3dchart", 300, 300, False, True, True)

  End Function

The problem is how to take image from the request of my this particular page a.aspx  and save this image to temporary folder on the HDD.

Please provide some code or example(Code could be given on asp net,  jsp or php)

Any help is appreciated

Thank you

Nicholas

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