How to display dynamically multiple charts for multiple records
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



How to display dynamically multiple charts... Expand / Collapse
Author
Message
Posted 2/6/2008 8:03:06 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/8/2008 6:47:14 AM
Posts: 4, Visits: 25
Hi,

I am loading records from database and i want to display chart for each record. i.e. My datalist returns me accounts from database. Each account has transactions i want to display chart for each account transaction. I mean i want to load charts on the page by each account id. just put one instance of chart and dynamically generate for each account. send accountid to chart and display it on the page infront of that account. I am using C# and ASP.NET
Post #4400
Posted 2/7/2008 12:51:33 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 10/11/2008 2:58:00 AM
Posts: 811, Visits: 1,289
hi,

You can go through our online Documentation on how to render chart using data from Database. http://www.fusionCharts.com/docs >> Guide For Web Developers >> USing With C# (ASP.NET)  Section or http://www.fusioncharts.com/docs/Contents/CS_DB.html

Do you want to display multiple charts at one instance or One at a time?

Regards,

Sudipto Choudhury
FusionCharts Team

Post #4406
Posted 2/7/2008 2:16:34 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/8/2008 6:47:14 AM
Posts: 4, Visits: 25
Hi,

I want to load charts at one instance. As i am loading multiple accounts records in a datalist for example i have ten accounts records in the datalist and i want to display chart for each account at one instane base on the accountid. Because this will differentiate charts for different accounts.

By the way thanks for the quick reply.
Post #4410
Posted 2/7/2008 5:30:03 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 10/11/2008 2:58:00 AM
Posts: 811, Visits: 1,289
hi,

You can create multiple charts in any way you wish, using a function or using loop. Just need to make sure that you must give unique chart id to each chart.

Regards,

Sudipto Choudhury
FusionCharts Team

Post #4412
Posted 2/7/2008 6:59:26 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/8/2008 6:47:14 AM
Posts: 4, Visits: 25
Hi Sudipto,

I have done it. I was using the same logic but on aspx page i was unable to pass the accountid to the creatchart function, which is binded to datalist. Now i have another problem it disturbed my page theme. Actually my pages contained in master page. So now i have to find how to use use webservice to retrieve charts data. Please send me your thoughts on this.

Thanx for being with me
Post #4414
Posted 2/20/2008 7:01:13 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 10/11/2008 2:58:00 AM
Posts: 811, Visits: 1,289
hi,

may be you can write nomal ASP.NET codes to retrive data from web services and build XML (may be you ca put all the code in anothe function) and set the XML to the charts.

Regards,

Sudipto Choudhury
FusionCharts Team

Post #4602
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 2:29pm


Execution: 0.156.