• Content count

  • Joined

  • Last visited

About yuvaraj

  • Rank
    Forum Newbie
  1. Hi Sanjukta, Thanks for ur reply. Actually i am using the FusionChart.Js Version: vFree.1.2 but i am using the FusionCharts V3 Demo Charts . i used the below code in my Xhtml file. There is No URL Encoded Characters . <div id="overallperformance"></div> <script type="text/javascript" language="Javascript"> //<![CDATA[ var chart_funnel = new FusionCharts("#{email['web_url']}/graphs/new/Chart/MSBar3D.swf, "overall", "425", "300"); chart_funnel.addParam("WMode", "Transparent"); chart_funnel.setDataURL("/mtc/dashboard/dashboardoverallperformance.seam"); chart_funnel.render("overallperformance"); //]]> </script> </div> and also i used the onload event like below, <body onload="init('${dashboard.currentDashboardCharts[0]}','${dashboard.currentDashboardCharts[1]}','${dashboard.currentDashboardCharts[2]}','${dashboard.currentDashboardCharts[3]}');" > The "Error in Loading Data " was occured in the first time loading the page for all Charts . if i do some action like drop down box , while selecting the Data in that Drop down box the Charts are loaded fine. Below i attached my dashboard.Js file for reference. dashboard.txt
  2. Hi, i am using the FusionChart V3 . document.getElementById('categorydiv2').innerHTML = document.getElementById(id2).innerHTML; In the Above Line the right side innerHTML Emptied the "flashvars="" " . Is this the Problem for getting "Error in Loading Data" in IE 8 . Please help me ,
  3. Hi, JavaScript Function init (id1,id2,id3,id4) { document.getElementById('categorydiv1').innerHTML = document.getElementById(id1).innerHTML; document.getElementById('categorydiv2').innerHTML = document.getElementById(id2).innerHTML; document.getElementById('categorydiv3').innerHTML = document.getElementById(id3).innerHTML; document.getElementById('categorydiv4').innerHTML = document.getElementById(id4).innerHTML; } Xhtml <body onload="init('${dashboard.currentDashboardCharts[0]}','${dashboard.currentDashboardCharts[1]}','${dashboard.currentDashboardCharts[2]}','${dashboard.currentDashboardCharts[3]}');" > <table style="margin-bottom:-20.5pt;margin-right:16pt"> <tr> <td> <div id="categorydiv1" style="display:block"> </div> </td> <td> <div id="categorydiv2"> </div> </td> </tr> <table style="margin-bottom:-20.5pt;margin-right:16pt"> <tr> <td> <div id="categorydiv3"> </div> </td> <td> <div id="categorydiv4"> </div> </td> </tr> </table> These Codes work fine in all the Browsers except IE 8 . Its Showing 'Error in Loading Data " message instead of to Load the Chart . Please help me to revert from this Error. Thanks in Advance.
  4. Hi, In IE 8, I am getting "Error in Loading the Data" while loading the page. If i do any action like to select the value from drop down then the Error Solved and Fusion Chart Working Fine. I think the issue is in my JavaScript. I attached my Js file Below. and also i checked the DataUrl , its in correct position only. The following below is the part of Xhtml codes .................... <h:panelGrid columns="2" styleClass="list_table"> <h:panelGroup> <table style="margin-bottom:-20.5pt;margin-right:16pt"> <tr> <td> <div id="categorydiv1"> </div> </td> <td> <div id="categorydiv2"> </div> </td> </tr> </table> </h:panelGroup> </h:panelGrid> <h:panelGrid columns="2" styleClass="list_table"> <h:panelGroup> <table style="margin-bottom:-20.5pt;margin-right:16pt"> <tr> <td> <div id="categorydiv3"> </div> </td> <td> <div id="categorydiv4"> </div> </td> </tr> </table> </h:panelGroup> </h:panelGrid> <div id="chartslistdiv" style="display:none"> <h:panelGrid columns="2" styleClass="list_table"> <h:panelGroup> <table border="0" style="margin-bottom:-20.5pt;margin-right:16pt"> <tr> <td> <h:panelGroup id="overallperformancepanel" style="display: none"> <div id="overallperformancediv" class="dashboard_widget"> <div class="widget_nw"> <div id="header_List_details" class="widget_title" style="width: 427px;"> <table> <tr> <td width="15%"> </td> <td align="center">Cumulative Campaign Performance</td> <td align="right" width="6%"> <h:form> <a4j:region> <a4j:commandLink action="#{dashboard.getActionandGroup('overallperformancediv')}" ajaxSingle="true" reRender="Allcategories" value="REMOVE" oncomplete="#{rich:component('categorypanel')}.show()" timeout="#{email['timeout']}"></a4j:commandLink> </a4j:region> </h:form> </td> </tr> </table> </div> </div> <div class="widget_w"> <div id="overall" class="widget_content" style="height: 343px; width: 424px;"> <h:form> <h:panelGroup id="overallpanel"> <div id="overallperformance"></div> <script type="text/javascript" language="Javascript"> //<![CDATA[ var chart_funnel = new FusionCharts("#{email['web_url']}/graphs/new/Charts/MSBar3D.swf", "1", "425", "300"); chart_funnel.addParam("WMode", "Transparent"); chart_funnel.setDataURL("/mtc/dashboard/dashboardoverallperformance.seam"); chart_funnel.render("overallperformance"); //]]> </script> </h:panelGroup> </h:form> </div> </div> <div class="widget_sw" style="width: 443px;"> <div id="footer_sub_details" class="widget_statusbar"/> </div> </div> </h:panelGroup> </td> <td> .................................... Please Help me to clear this, Thanks in advance dashboard.txt