avinash Report post Posted August 8, 2008 Hi Rahul, I want to print fusion chart. can u have sample code for it. Plz reply Thanking You. Avinash Share this post Link to post Share on other sites
Rahul Kumar Report post Posted August 8, 2008 Hi Avinash, We don't have the sample code, but a DLL which allows to save chart as image, and also to print the chart, but this DLL only works for WinForm. Here are the code snippets that will show, how to use ChartToImage.dll. private void btnPrint_Click(object sender, EventArgs e){ ChartToImage.ChartToImage.PrintChart(FC.Handle, FC.Width, FC.Height, false);} private void btnSaveChartImage_Click(object sender, EventArgs e) { ChartToImage.ChartToImage.GetChartImage(FC.Handle, FC.Width, FC.Height).Save("C:FusionCharts.jpg");} You can download the ChartToImage.dll from the Attachment. NOTE: You need to add reference to ChartToImage.dll. ChartToImage.zip Share this post Link to post Share on other sites
avinash Report post Posted August 13, 2008 It really working nice for me Thank u Rahul Share this post Link to post Share on other sites
speedfox_2002 Report post Posted September 5, 2008 the attachment download does not work. I need access to the charttoimage.zip file please Share this post Link to post Share on other sites
Pallav Report post Posted September 12, 2008 Please login and then download the attachment. Share this post Link to post Share on other sites
asavva Report post Posted November 11, 2008 i didnt manage to make it work. what is "FC.Handler" and were i can find it Share this post Link to post Share on other sites
Rahul Kumar Report post Posted November 12, 2008 Hi asavva, FC.Handler is the Window Handler for ShockWave flash object, in WinForm application. It is just like hWnd property of control, If you are familiar with VB 6.0 or VC++. Without specifying the FC.Handler, ChartToImage.ChartToImage function could not determine the rectangular area of the control. Also if you are not able to get it work, then please read this thread from starting, and download all the files, as they are linked together. Share this post Link to post Share on other sites
daya89 Report post Posted March 29, 2021 hello there is an updated version without flash Share this post Link to post Share on other sites
Ayan Bhadury Report post Posted March 30, 2021 @daya89 Yes you can use the latest version of FusionCharts which renders in javascript: https://www.fusioncharts.com/download/fusioncharts-suite-xt demo : http://jsfiddle.net/fusioncharts/y3H2G/ Share this post Link to post Share on other sites