karadogan

Is Fusion Charts Can Be Used In C# Windows Application?

Recommended Posts

I'm new user in FusionCharts and I search features of the components.

So Sorry about questions

 

Can I use FusionCharts in C# Windows (desktop) applications?

 

Thank you for understanding..

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

First of all, we would like to thank you for showing interest in FusionCharts.

 

FusionCharts can be used in C# windows (desktop) applications.

 

For more details, please visit the links below:

 

http://blog.fusioncharts.com/2009/09/how-to-use-fusioncharts-in-windows-net-applications-winforms/

 

http://blog.fusioncharts.com/2009/09/how-to-use-fusioncharts-in-windows-net-applications-winforms-%e2%80%93-part-2/

 

http://blog.fusioncharts.com/2009/10/how-to-use-fusioncharts-in-windows-net-applications-winforms-%e2%80%93-part-3/

 

Hope this helps.smile.gif

Share this post


Link to post
Share on other sites

Thank you for reply,

And another question:

 

When we buy FusionCharts for one WebSite , will we pay extra money for using in Windows Forms?

And is it unlimited application for WinForms?

 

I couldnt find any answer about this on your Licensing & Pricing page.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your post.

 

Could you please drop a mail to [email protected] ?

 

One of our sales representatives will get back to you very soon.

 

Looking forward to your mail.

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

First of all, we would like to thank you for showing interest in FusionCharts.

 

FusionCharts can be used in C# windows (desktop) applications.

 

For more details, please visit the links below:

 

http://blog.fusionch...tions-winforms/

 

http://blog.fusionch...2%80%93-part-2/

 

http://blog.fusionch...2%80%93-part-3/

 

Hope this helps.smile.gif

 

 

I'm doing an applicattion too. I use Fusion Charts to make the charts but I have a problem at the time to export. If I do right button in the chart and select "save as jpeg" the progress bar appear but the image is not save. I've checked the FlashSecuritySetup and I execute de .bat in my charts folder.

 

If I put the code to show the image in a picturebox that is in the documentation in the event FlashCall of my AxShockwaveFlash it didn´t works.

 

¿Can you explain me how can it fixed it?

 

Than You.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

First of all, we would like to thank you for showing interest in FusionCharts.

 

Please check you have FusionChartsExportComponent.js loaded properly.

 

Can you please tell us if you are running the file from local file system or from a web server? In case you are running it from local file system you would need to configure Flash Player Global Security Settings. Please read from :http://www.fusioncha...HowToSetup.html

 

If the problem persists, please send us the entire code or any live link to test from our end.

 

Awaiting for your response.

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

First of all, we would like to thank you for showing interest in FusionCharts.

 

Please check you have FusionChartsExportComponent.js loaded properly.

 

Can you please tell us if you are running the file from local file system or from a web server? In case you are running it from local file system you would need to configure Flash Player Global Security Settings. Please read from :http://www.fusioncha...HowToSetup.html

 

If the problem persists, please send us the entire code or any live link to test from our end.

 

Awaiting for your response.

 

 

Thank you for the reply.

 

In my app, FusionChartsExportComponent.js is in the same folder than charts. I dont't have a reference of it in my code.

I'm running in a local file system. I read the link and I execute FlashSecuritySetup.bat in my charts' folder.

 

This is the code in my .vb:

 

Private Sub AxShockwaveFlash1_FlashCall(ByVal sender As System.Object, ByVal e As AxShockwaveFlashObjects._IShockwaveFlashEvents_FlashCallEvent) Handles AxShockwaveFlash1.FlashCall

 

'AxShockwaveFlash1

 

If e.request.Contains("FC_ExportDataReady") Then

 

Dim EC As New FusionCharts.ExportComponent()

 

PictureBox1.Image = EC.GetExportedImage(e.request)

 

End If

 

End Sub

 

This Event is used when I draw the chart but then "FC_ExportDataReady" is not contained in the request. The event is not used anymore.

 

Thank You

Share this post


Link to post
Share on other sites

Hi,

 

I apologize. We have mis-understood your implementation. You do not need the JS here.

 

You might have worked in .NET Windows Application.

 

It seems that the event AxShockwaveFlash1_FlashCall is not getting raised which is likely due to Flash Player's Global Security settings which you need to set up once for your standalone machine.

 

You can set it up following the instructions given in the page: http://www.fusioncharts.com/Tools/FlashPlayerSecuritySetup/HowToSetup.html .

 

Once setup the events will be raised and you can achieve the export.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

You can paste the code in this thread.

 

Awaiting for your reply.

Share this post


Link to post
Share on other sites

I have the same problem ; When i exported image,I found the FlashCall Event is not be fired . I mean the event AxShockwaveFlash1_FlashCall is not getting raised. Then, I call the " callfunction " method , but I don't konw what is the meaning of the method and ocurred error when I call this method

Hi,

 

Thanks for your post.

 

Could you please drop a mail to [email protected] ?

 

One of our sales representatives will get back to you very soon.

 

Looking forward to your mail.

Edited by Jex

Share this post


Link to post
Share on other sites
Guest Sumedh

I have the same problem ; When i exported image,I found the FlashCall Event is not be fired . I mean the event AxShockwaveFlash1_FlashCall is not getting raised. Then, I call the " callfunction " method , but I don't konw what is the meaning of the method and ocurred error when I call this method

 

Hi,

 

Can you elaborate your issue? It would be helpful to look into it.

Share this post


Link to post
Share on other sites

Hi,

 

  I am also facing the same problem. My "axShockwaveFlash1_FlashCall" event not getting triggered when clicking on the export. I did a setup of "FlashPlayerSecuritySetup" also. but still am facing the issue.

Share this post


Link to post
Share on other sites

Hi,

 

  I am also facing the same problem. My "axShockwaveFlash1_FlashCall" event not getting triggered when clicking on the export. I did a setup of "FlashPlayerSecuritySetup" also. but still am facing the issue.

Hi,

 

Could you please confirm if "registerWithJS" is set to '1' in your code besides the enabled Flash player global security settings?

 

You need to set it at "axShockwaveFlash1.Movie="*swfpath/Column2D.swf?registerWithJS=1..."

 

Awaiting your response.

Share this post


Link to post
Share on other sites

Hi,

 

 I need one more help in the same. I have the requirement like the file should be saved to the network folder automatically. For this I want to trigger the "Save As" (right click) click event from server side (In web I have done it. But I need the same in winforms also).

Share this post


Link to post
Share on other sites

Hi Sashi,

 

   I achieved whatever mentioned in the link provided by you. My requirement is to schedule the fusion chart report (It has to send the report as mail to someone as per the schedule). In that case there will be no manual interventions. It has to happen automatically. Which means the right click on the chart and select for "Save as" has to be done in background. Is there any way to do that?

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