Sign in to follow this  
Qpun

FusionChart in VB.Net Windows Application

Recommended Posts

Hi all,

 

I'm new in FusionCharts and interested too use it in future application development, so right now i'm exploring FusionCharts features.

 

While there's A LOT sample to use FusionChart in ASP.Net WebApplication, I can't found any sample code to use it in VB.Net windows application.

 

 

 

I already to try to make a simple form that consist of 1 multiline textbox to writedown the xml string.

 

and already add FC As AxShockwaveFlashObjects.AxShockwaveFlash to this form

 

I use this XML String :

 

 

 

 

 

 

 

 

 

 

and use this code too render the chart :

 

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGen.Click

 

 

 

FC.Movie = Application.StartupPath + "Column3d.swf"

 

FC.SetVariable("dataXML", TextBox1.Text)

 

 

 

FC.Play()

 

FC.Refresh()

 

 

 

End Sub

 

 

 

It's work fine if I run the form an click the button for the 1st time.

 

BUT.., when I want to render the chart again, i need too click the button 3 times before the chart generated again..

 

So., is it a bug in FusionCharts or it's just my fault? :)

 

I would appreciate any help for my case..

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