Sign in to follow this  
LucasGraf

Winform Export Chart Image W/o Right-Clicking

Recommended Posts

I've read over the Part 3 of how to use FusionCharts in a WinForm numerous times : http://blog.fusioncharts.com/2009/10/how-to-use-fusioncharts-in-windows-net-applications-winforms-%E2%80%93-part-3/

 

It is mentioned there that you can do the exporting without the right-click-> Save as PNG interaction somehow by calling the exportChart() funciton in the FlashCall function after the "FC_Rendered" request has happened. The problem is nothing there tells me how to do it? So, How do I call the exportChart() function?

 

Thanks

 

 

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

Welcome to FusionCharts Forum! smile.gif

 

Apologies for the delayed response.

 

 

Please call the following function in FlashCall when ‘FC_Rendered’ is True to export the charts automatically after it is rendered.

 

Ref. Code:

ChartContainer.CallFunction(“<invoke name=’exportChart’> </invoke>”);

 

The chart would be exported automatically instead of right-clicking on the chart. All the steps related to export, like XML configurations, etc. would be exactly the same as described in this post.

 

Hope this helps!

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