• Content count

  • Joined

  • Last visited

About pm101

  • Rank
    Forum Newbie
  1. Hi I am doing a server side export of charts to jpeg. The data is captured fine and the file is generated as expected but the wait for the callback function to be called is several seconds after data capture has finished. I would expect less than a second. Does anyone know what the common causes of a long delay in waiting for a callback function to be called after exporting a chart to jpeg could be or am I being unrealistic in my expections? Thanks Paul
  2. How can I change the chart type with JS/Ajax?

    Thanks Madhumita That all works perfectly now! Charts look great. Thanks again for all your help. Paul
  3. How can I change the chart type with JS/Ajax?

    Hello again! Is there a workaround using setDataURL()? Thanks Paul
  4. How can I change the chart type with JS/Ajax?

    Hi, I tracked down the problem myself. It is the "100%" chart dimensions; in fact, I tried it with any % figure and the new chart did not render. As soon as I change to pixel counts, with no other changes, everything is fine. Is there a workaround for that? Thanks Paul
  5. How can I change the chart type with JS/Ajax?

    Hello, Since you are rendering the chart in a div, to reload a new chart type render the new chart swf in the same way in the same div where you were rendering the previous chart. Regards, Madhumita Chakraborty Hi I am trying this. Here is the JavaScript code: <script type="text/javascript"> renderChart(4); function renderChart(chartID) { var chartSWF = ""; if (chartID == 2) { chartSWF = "FusionCharts/MSCombi2D.swf"; } if (chartID == 4) { chartSWF = "FusionCharts/MSColumn2D.swf"; } var chartXML = "Chart_Brands_Page" + chartID + ".xml"; var Chart = new FusionCharts(chartSWF, "Chart1Id", "100%", "100%", "0", "1", "FFFFFF", "noScale"); Chart.setTransparent(); Chart.setDataURL(chartXML); Chart.render("divAnalysis"); } </script> The first render, when ChartID = 2 works fine but when I call the function again with ChartID = 4 the chart is not rendered. I have tried reversing the order, so I know chart 4 renders fine when it is the first one. I have also experimented with alerts so I know the function is being executed each time and that the XML is correct, it is just the render that is not working. Can you offer any suggestions as to where I might be going wrong? Thanks, Paul