How can i consume fusion chart inside a asp.net webpart control for asp.net web application?
I tried using the following codes but it doesn't work. The web part nor thechart is not visible at all.
Can anyone please let me know if this can be resolved?
<asp:WebPartZone ID="WebPartZone2" runat="server"><ZoneTemplate><%
=GetLatestYearSalesByCountryByMarket() %></ZoneTemplate></asp :WebPartZone>public string GetLatestYearSalesByCountryByMarket(){
DataBase dbUtill = new DataBase();DataTable dt = dbUtill.GetDataSet("Get_SalesByCountry_Market", CommandType.Text).Tables[0];//string chartXML = CreateFusionCharts.ColumnChart_MultipleSeries(dt, "Latest year sales by country by market", "Sales ($)", "");string chartXML = CreateFusionCharts.ColumnChart_MultipleSeries(dt, "Sales by year by Product", "Sales ($)", "");return FusionCharts.RenderChart("App/FusionCharts/MSColumn3D.swf", "", chartXML, "Chart2", "590", "260", false, true);}
Thanks and Regards,
kk

Back to top
MultiQuote