Can someone explain RenderChartHtml for me?
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Can someone explain RenderChartHtml for me? Expand / Collapse
Author
Message
Posted 1/25/2008 9:09:04 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/12/2008 8:34:07 AM
Posts: 7, Visits: 15
Hi guys!

Hope you have patience with me for this one. I've been looking through the documentation but I just don't understand how this works...

Let's say I have an aspx file with a code-behind c# file. I want to update the chart from my code so I've been looking for examples online, but snippets of code won't help me until I understand the architecture of it. For instance I found a post where a guy uses this code:

Response.Write(xmlData);//Create the chart - Pie 3D Chart with data from
xmlDatalblChart.Text = InfoSoftGlobal.FusionCharts.RenderChartHTML("FusionCharts/AngularGauge.swf", "", xmlData,"fChart", "200", "240", false);

Response.Write? From what context is this code run? Isn't there a chart object I can just call on? It seems like they way to do it is by the RenderChartHtml method, but how do I use that? I've got the professional edition of FusionCharts but I don't see any .dll files to include in my VS project...

Could somebody please give me a walktrough of how to do this? Do I import the InfoSoftGlobal namespace? Will there be a special FusionChart control to add to the aspx page or do I still display the chart using javascript?

Thanks in advance!=)

Post #4114
Posted 1/27/2008 11:06:39 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 2 days ago @ 5:36:20 AM
Posts: 736, Visits: 1,181
hi,

You do not need the Response.Write(...);

It might be that the code has been written also to see the  dataXML for the chart. Hence the code.

Response.Write(xmlData);//Create the chart - Pie 3D Chart with data from
xmlDatalblChart.Text = InfoSoftGlobal.FusionCharts.RenderChartHTML("FusionCharts/AngularGauge.swf", "", xmlData,"fChart", "200", "240", false);

FusionCharts is a Flash Charting Component and we currently provide a Wrapper class, FusionCharts (InfoSoftGlobal namespace) for the Chart.

The FusionCharts.dll can be found in the CODE >> VB_NET / C# >> BIN folder.

We are currently developing a Web Server Component which would simplify the process as you have said. As of now you can go to our docs : www.fusioncharts.com/docs >> Guide for Web Developers >> Using With ASP.NET VB // using with ASP.NT C# section where the things are explained in the simplest possible manner.

Regards,

Sudipto Choudhury
FusionCharts Team

Post #4142
Posted 1/28/2008 2:52:33 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/12/2008 8:34:07 AM
Posts: 7, Visits: 15
Thanks for the tips, those docs look like they cover what I need=)

However, I still cannot find any .dll in my package... The doc says "All code discussed here is present in Download Package > Code > C# > BasicExample folder" but there is no C# folder in my Code folder... Is this something reserved for the Enterprise package? I do have a Code\RealTime\DataProviders\C# - Code Behind folder, but no .dll here either...

Post #4155
Posted 1/28/2008 4:36:38 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 2 days ago @ 5:36:20 AM
Posts: 736, Visits: 1,181
Hi,

I apologize that i did not understand that you are having FusionGadgets and not FusionCharts pack. Can you please download (eval version) FusionCharts so that you can get the things that you need. This DLL will be applicable to FusionGadgets too.

http://www.fusioncharts.com/download.asp

Regards,

Sudipto Choudhury
FusionCharts Team

Post #4158
Posted 1/28/2008 4:44:49 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/12/2008 8:34:07 AM
Posts: 7, Visits: 15
Thank you very much!=)

I didn't see the difference myself, hehe. But now I've got the dll and the documentation online so now I can get cracking on this!

Post #4161
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 10:52am


Execution: 0.125.