shwetha Report post Posted December 4, 2012 (edited) Hi, I am display a Bar2D chart in ASP.NET application. I am getting the data from database and populating it to the array and further using it in the FusionChart. I have included the "FusionChart.js" file in my aspx page. The chart was displaying fine until yesterday but it is giving the following error today. "Line: 27 Error: Object doesn't support property or method 'setAttribute'" In the debug mode, the error is caused by the following code in FusionChart.js file. if(swf) { this.setAttribute('swf', swf); } I have not modified the code since the time it was last working. The following is my code behind code; StringBuilderxmlData = new StringBuilder(); xmlData.Append("<chartcaption='Posting Trend Report' formatNumberScale='1' rotateValues='1'placeValuesInside='1' >"); for (int i = 0; i < names.Count;i++) { xmlData.AppendFormat("<setlabel='{0}' value='{1}'/>", chartData[i, 0], chartData[i, 1]); } xmlData.Append("</chart>"); literalChart.Text = FusionCharts.RenderChart("../FusionCharts/Bar2D.swf","", xmlData.ToString(), "postingTrends", "800", "1500",false, true); The folowing is my aspx code <script src="js/FusionCharts.js"type="text/javascript"></script> //rest of code <div> <asp:Literal ID="literalChart"runat="server"></asp:Literal> </div> Any insight on this issue will be helpful. Thanks Shwetha Edited December 4, 2012 by shwetha Share this post Link to post Share on other sites
Guest Sumedh Report post Posted December 6, 2012 Hi Shwetha, A warm welcome to FusionCharts Forum! Could you please check for the Flash Player version and browser version? Mention the flash player and browser version details. Share this post Link to post Share on other sites
shwetha Report post Posted December 6, 2012 Hi Sumedh, Thank you for replying. I am running the chart on IE 9 and the Flash Player version is 11.5.502.110 Best Regards Shwetha Share this post Link to post Share on other sites
Swarnam Report post Posted December 6, 2012 Hi Shwetha, Thanks for the inputs. Error "Object doesn’t support property or method", it may be caused by several reasons in Internet Explorer browser. Can you please try once reset the IE settings? Steps to follow: 1) In Internet Explorer, select the Tools menu and then click Internet Options. 2) Click the Advanced tab, Click Reset button. 3) Click Reset button while a prompt asks” Are you sure you want to reset all the Internet Explorer settings”. 4) Click Ok, restart your IE. 5) Please re check if the issue still exists. Hope this helps. Share this post Link to post Share on other sites
shwetha Report post Posted December 7, 2012 Hi Swarnam, I followed the steps but I am still getting the same error. Best Regards Shwetha Share this post Link to post Share on other sites