paulineg

Members
  • Content count

    6
  • Joined

  • Last visited

Posts posted by paulineg


  1. My code looks like this

    <div id ="fusionchart">FusionCharts XT will load here!</div> 
    <script type="text/javascript">        
    	if ( FusionCharts('chartID') )  FusionCharts('chartID').dispose();
    	var myChart = new FusionCharts( "${Bean.swfName}", "chartID", "100%", "580px", "0", "1" );
    	myChart.setXMLData("${Bean.xmlData}");
    	myChart.render("fusionchart");
    </script>    
    

    This works fine and doesn't throw the error
     
    "A FusionChart oject with the specified id "chartID" already exists. Renaming it to chartobject-2"
     
    But when I explicitly render in html5 with this code
     

    <div id ="fusionchart">FusionCharts XT will load here!</div> 
    <script type="text/javascript">        
    	if ( FusionCharts('chartID') )  FusionCharts('chartID').dispose();
    	FusionCharts.setCurrentRenderer('javascript');
    	var myChart = new FusionCharts( "${Bean.swfName}", "chartID", "100%", "580px", "0", "1" );
    	myChart.setXMLData("${Bean.xmlData}");
    	myChart.render("fusionchart");
    </script>    
    

    I get this error using IE10. Works fine in the latest version of firefox.
     
    Message: Unable to get property 'removeChild' of undefined or null reference
    Line: 406
    Char: 337
    Code: 0
    URI: FusionCharts/FusionCharts.HC.js

     

     

    This error occurs when trying to rerender the chart, and the chart does not display.

     

    I am Using the latest version of FusionCharts v3.3.1 - SR2

     

    How can I fix this?


  2. We are using fusionchartstaglibJSF1-2-java5-Version1_4.jar

     

    Everything was working fine until we upgraded to FusionCharts XT v3.2.2

     

    Problems:

    1. The charts don’t fill up the space of the div correctly

     

    2. The Font size increased

     

    3. Javascript error when rendering the chart the 2nd time ( #06091847 chartobject-1 Warning >> A FusionChart oject with the specified id "00" already exists. Renaming it to chartobject-1 )

     

    Is there an newer tag library that we should be using?