faissey Report post Posted February 6, 2008 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 Share this post Link to post Share on other sites
FusionCharts Support Report post Posted February 7, 2008 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? Share this post Link to post Share on other sites
faissey Report post Posted February 7, 2008 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. Share this post Link to post Share on other sites
FusionCharts Support Report post Posted February 7, 2008 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. Share this post Link to post Share on other sites
faissey Report post Posted February 7, 2008 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 Share this post Link to post Share on other sites
FusionCharts Support Report post Posted February 20, 2008 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. Share this post Link to post Share on other sites