
Qpun
-
Content count
6 -
Joined
-
Last visited
Posts posted by Qpun
-
-
Hi again all,
this time I got an issue again about how to do drilldown operation in Fusioncharts that used in a windows form.
I find this refference that show to do drilldown in web application :
http://www.fusioncharts.com/Docs/Contents/DrillDown/Simple.html
that basicly using querystring.,but, we can't do that in windows form application , do we?
So is there any workaround to do this? Or this is the limitation of using FusionChart in Windows Apps?
-
Ok, my bad..
Sorry I didn't notice that issue that callfunction unavailable in free version..
Thanx again..
-
I tried ur 1st suggestion, and.... IT'S WORK...!! :w00t:
Thanx a lot for your help
But i little bit curious for your second solution, i try this one :
FC.Movie = Application.StartupPath + "Column3d.swf"
FC.SetVariable("dataXML", TextBox1.Text)
FC.CallFunction("")
but there's an error when i run it, it come from the 3rd line:
Conversion from string "
I also already download your code and translate it to VB languange :
Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs)
FC.Movie = (Application.StartupPath + "Column3d.swf")
FC.SetVariable("registerWithJS", "1")
FC.SetVariable("dataXML", textBox1.Text)
End Sub
Private Sub button3_Click(ByVal sender As Object, ByVal e As EventArgs)
Dim strXML As String = textBox1.Text
Dim args() As String = {strXML}
FC.CallFunction(FlashCall("setDataXML", args))
End Sub
Private Function FlashCall(ByVal fName As String, ByVal args() As String) As String
Return ("
+ (fName + (""">" _
+ (args(0) + "
"))))End Function
But when i try to run it, there's an error occured from this code :
FC.CallFunction(FlashCall("setDataXML", args))
the error is :
Error HRESULT E_FAIL has been returned from a call to a COM component.
Would you give me a clue why it's happen in my code but not in yours
-
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..
-
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..
Drill down in VB.Net Windows Application
in FusionCharts Free and ASP.NET
Posted · Report reply
Ok, thanks for make it clear ..
Goodluck for you and your teams in R&D process, may the result make FusionCharts be a better tool for all of us