shwetha

Members
  • Content count

    3
  • Joined

  • Last visited

About shwetha

  • Rank
    Forum Newbie
  1. Fusion Chart Javascript Error

    Hi Swarnam, I followed the steps but I am still getting the same error. Best Regards Shwetha
  2. Fusion Chart Javascript Error

    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
  3. 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