glaze24 Report post Posted October 8, 2010 I have created fusion charts which is displaying perfectly in firefox but not in chrome and IE. I have checked the javascipt and data xml all are same for all the three browsers.....as chrome and IE did not have <embed> tag i couldn't check it with firefox <embed> tag.... anyone please help me? Share this post Link to post Share on other sites
DannyR Report post Posted October 8, 2010 Need to see some code. Also, what version(s) of IE are you looking at? Share this post Link to post Share on other sites
glaze24 Report post Posted October 11, 2010 <div class="tabbertab" title="Spend" id="DailySpend"> Fusion Charts </div> <div class="tabbertabhide" title="CPL" id="CplTrend"> </div> <div class="tabbertabhide" title="Lead" id="LeadTrend"> </div> here where three charts get rendered.... <script language="JavaScript"> showChart(); function showChart(){ var dailySpendChart = new FusionCharts("/ipk/includes/MSCombiDY2D.swf","dailyspend","700","301","0","1"); var dailySpendXml = "<graph caption='Daily Budget Trend' xAxisName='Day' pYAxisName='Daily Spend (Rs)' sYAxisName='Total Spend (Rs)' decimalPrecision='0' showValues='0' rotateNames='1' showAlternateHGridColor='1' AlternateHGridColor='FFE8E8' exportEnabled='1' exportHandler='/ipk/includes/FusionCharts_Developer/ExportHandlers/PHP/FCExporter.php' exportAtClient='0' exportAction='download' exportFileName='DailySpendChart'><categories><category name='1-Jul-10' /><category name='2-Jul-10' /><category name='3-Jul-10' /><category name='4-Jul-10' /><category name='5-Jul-10' /><category name='6-Jul-10' /><category name='7-Jul-10' /><category name='8-Jul-10' /><category name='9-Jul-10' /><category name='10-Jul-10' /><category name='11-Jul-10' /><category name='12-Jul-10' /><category name='13-Jul-10' /><category name='14-Jul-10' /><category name='15-Jul-10' /><category name='16-Jul-10' /><category name='17-Jul-10' /><category name='18-Jul-10' /><category name='19-Jul-10' /><category name='20-Jul-10' /><category name='21-Jul-10' /><category name='22-Jul-10' /><category name='23-Jul-10' /><category name='24-Jul-10' /><category name='25-Jul-10' /><category name='26-Jul-10' /><category name='27-Jul-10' /><category name='28-Jul-10' /><category name='29-Jul-10' /><category name='30-Jul-10' /><category name='31-Jul-10' /></categories><dataset seriesName='Daily Spend'><set value='42062.99' /><set value='43764.99' /><set value='37658.35' /><set value='28329.48' /><set value='41840.59' /><set value='50850.04' /><set value='49848.56' /><set value='45065.12' /><set value='40099.74' /><set value='35948.89' /><set value='27262.46' /><set value='45572.02' /><set value='53191.11' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /></dataset><dataset seriesName='ipk Target' color='F8DA12' parentYaxis='S'><set value='20967.75' /><set value='41935.5' /><set value='62903.25' /><set value='83871' /><set value='104838.75' /><set value='125806.5' /><set value='146774.25' /><set value='167742' /><set value='188709.75' /><set value='209677.5' /><set value='230645.25' /><set value='251613' /><set value='272580.75' /><set value='293548.5' /><set value='314516.25' /><set value='335484' /><set value='356451.75' /><set value='377419.5' /><set value='398387.25' /><set value='419355' /><set value='440322.75' /><set value='461290.5' /><set value='482258.25' /><set value='503226' /><set value='524193.75' /><set value='545161.5' /><set value='566129.25' /><set value='587097' /><set value='608064.75' /><set value='629032.5' /><set value='650000.25' /></dataset><dataset seriesName='Total Spend' color='FF0000' parentYaxis='S'><set value='42062.99' /><set value='85827.98' /><set value='123486.33' /><set value='151815.81' /><set value='193656.4' /><set value='244506.44' /><set value='294355' /><set value='339420.12' /><set value='379519.86' /><set value='415468.75' /><set value='442731.21' /><set value='488303.23' /><set value='541494.34' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /></dataset></graph>"; //alert(dailySpendXml); dailySpendChart.setDataXML(dailySpendXml); dailySpendChart.render("DailySpend"); var cplTrendChart = new FusionCharts("/ipk/includes/MSCombiDY2D.swf","cpltrend","700","300","0","1"); var cplTrendXml = "<graph caption='CPL Trend' xAxisName='Day' yAxisName='CPL (Rs)' formatNumberScale='0' decimalPrecision='1' showValues='0' rotateNames='1' showAlternateHGridColor='1' AlternateHGridColor='FFE8E8' exportEnabled='1' exportHandler='/ipk/includes/FusionCharts_Developer/ExportHandlers/PHP/FCExporter.php' exportAtClient='0' exportAction='download' exportFileName='CplTrendChart'><categories><category name='1-Jul-10' /><category name='2-Jul-10' /><category name='3-Jul-10' /><category name='4-Jul-10' /><category name='5-Jul-10' /><category name='6-Jul-10' /><category name='7-Jul-10' /><category name='8-Jul-10' /><category name='9-Jul-10' /><category name='10-Jul-10' /><category name='11-Jul-10' /><category name='12-Jul-10' /><category name='13-Jul-10' /><category name='14-Jul-10' /><category name='15-Jul-10' /><category name='16-Jul-10' /><category name='17-Jul-10' /><category name='18-Jul-10' /><category name='19-Jul-10' /><category name='20-Jul-10' /><category name='21-Jul-10' /><category name='22-Jul-10' /><category name='23-Jul-10' /><category name='24-Jul-10' /><category name='25-Jul-10' /><category name='26-Jul-10' /><category name='27-Jul-10' /><category name='28-Jul-10' /><category name='29-Jul-10' /><category name='30-Jul-10' /><category name='31-Jul-10' /></categories><trendlines> <line startValue='0' color='2AD62A' thickness='2' displayValue='Target0' showOnTop='1' /> </trendlines><dataset seriesName='Actual CPL' color='1D8BD1'><set value='96.47' /><set value='95.56' /><set value='95.82' /><set value='79.13' /><set value='82.36' /><set value='95.94' /><set value='100.50' /><set value='100.14' /><set value='97.33' /><set value='89.20' /><set value='84.14' /><set value='107.48' /><set value='104.30' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /></dataset></graph>"; //alert(cplTrendXml); cplTrendChart.setDataXML(cplTrendXml); cplTrendChart.render("CplTrend"); var leadTrendChart = new FusionCharts("/ipk/includes/MSCombiDY2D.swf","leadtrend","700","300","0","1"); var leadTrendXml = "<graph caption='Lead Trend' xAxisName='Day' pYAxisName='Daily Leads' sYAxisName='Total Leads' decimalPrecision='0' showValues='0' rotateNames='1' showAlternateHGridColor='1' AlternateHGridColor='FFE8E8' exportEnabled='1' exportHandler='/ipk/includes/FusionCharts_Developer/ExportHandlers/PHP/FCExporter.php' exportAtClient='0' exportAction='download' exportFileName='LeadsTrendChart'><categories><category name='1-Jul-10' /><category name='2-Jul-10' /><category name='3-Jul-10' /><category name='4-Jul-10' /><category name='5-Jul-10' /><category name='6-Jul-10' /><category name='7-Jul-10' /><category name='8-Jul-10' /><category name='9-Jul-10' /><category name='10-Jul-10' /><category name='11-Jul-10' /><category name='12-Jul-10' /><category name='13-Jul-10' /><category name='14-Jul-10' /><category name='15-Jul-10' /><category name='16-Jul-10' /><category name='17-Jul-10' /><category name='18-Jul-10' /><category name='19-Jul-10' /><category name='20-Jul-10' /><category name='21-Jul-10' /><category name='22-Jul-10' /><category name='23-Jul-10' /><category name='24-Jul-10' /><category name='25-Jul-10' /><category name='26-Jul-10' /><category name='27-Jul-10' /><category name='28-Jul-10' /><category name='29-Jul-10' /><category name='30-Jul-10' /><category name='31-Jul-10' /></categories><dataset seriesName='Daily Leads'><set value='436' /><set value='458' /><set value='393' /><set value='358' /><set value='508' /><set value='530' /><set value='496' /><set value='450' /><set value='412' /><set value='403' /><set value='324' /><set value='424' /><set value='510' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /></dataset><dataset seriesName='Lead Target' color='F8DA12' parentYaxis='S'><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /></dataset><dataset seriesName='Total Leads' color='FF0000' parentYaxis='S'><set value='436' /><set value='894' /><set value='1287' /><set value='1645' /><set value='2153' /><set value='2683' /><set value='3179' /><set value='3629' /><set value='4041' /><set value='4444' /><set value='4768' /><set value='5192' /><set value='5702' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /><set value='' /></dataset></graph>"; //alert(leadTrendXml); leadTrendChart.setDataXML(leadTrendXml); leadTrendChart.render("LeadTrend"); } </script> this is the javascript thats rendering chart....... but this method(showchart) is not being called in IE and chrome...... I have tried with simple alert, thats also not working...... really frustrated by this behaviour!!! Share this post Link to post Share on other sites