Ben Vanberg

Members
  • Content count

    1
  • Joined

  • Last visited

Everything posted by Ben Vanberg

  1. I have a page that uses ajax to dynamically switch "tabs" each of which have multiple fusion charts on them. All of these charts work fine in Chrome and Firefox. However, in IE, they only work some of the time. I'm getting "Error in loading data" intermittently while switching "tabs" or making selections that cause the chart div to "re-render." Even when switching my code to supply static xml to chart I am getting the same behavior. It doesn't seem to be a problem with the code as everything is working perfectly in all other browsers. When turning on debug mode in fusion charts I don't get any when the problem occurs. The message "Error in loading data" is shown and the debug screen show no errors nor does it show any XML. I'm used to seeing some errors in the debug window when there are problems with the XML. This doesn't show anything wrong. Any ideas what's going on here? Is there a way to determine what is happening with the chart, as debug mode isn't helping? Chart javascript looks like this... //need to dispose first otherwise FC creates a new Id and we are unable to reference the chart for changes if (FusionCharts("#{chartId}")) {FusionCharts("#{chartId}").dispose();} var #{chartId}Chart = new FusionCharts("#{flashFile}?noCache=" + new Date().getMilliseconds(), "#{chartId}", "#{width != null ? width : '90%'}", "#{height != null ? height : 525}", "#{debug != null ? debug : 0}", "1"); //Need to escape the url, or else the conversationId will not be passed properly #{chartId}Chart.setChartDataUrl(escape("#{chartDataURL}&time=" + new Date().getMilliseconds()),"xml"); #{chartId}Chart.render("#{chartId}Div"); Using 3.2.1 of fusion charts. Thanks, Ben.