koduruabhinav

Fusion charts not working in Chrome

Recommended Posts

Hi Team
Fusion charts are not rendered in chrome,giving below error.
When we add the domain in the chrome content settings chrome://settings/content/flash ,the graphs are rendered perfectly.
I tried with FusionCharts.setCurrentRenderer('javascript'); but no luck,Please let me know is there any solution for this
.
Version ,we are using :fusioncharts/3.3.1-sr2.19840

PfB the code
=====================
<div id="AllocationChart1" >
</div>
<jsputils:scriptInclude>
$(document).ready(function(){
         $("#AllocationChart1").insertFusionCharts({
               swfUrl: "/fusionCharts/3.3.1/Pie2D.swf", 
               width: "400", 
               height: "300", 
              renderer : "javascript",
               dataFormat: "xml", 
               dataSource: "<chart caption='Weekly Sales Summary' xAxisName='Week' " +
                 "yAxisName='Sales' numberPrefix='$'>" +
                 "<set label='Week 1' value='14400' />" +
                 "<set label='Week 2' value='19600' />" +
                 "<set label='Week 3' value='24000' />" +
                 "<set label='Week 4' value='15700' />" +
                 "</chart>"
         }); 
       });
</jsputils:scriptInclude>

Error
====================
Uncaught Error: #25081850 chartobject-1::RendererManager Error >> There was an error rendering the chart. Enable FusionCharts JS debugMode for more information.
    at notifyRender (FusionCharts.js?build=default&version=1.1:55)
    at FusionCharts.js?build=default&version=1.1:95
    at f (FusionCharts.js?build=default&version=1.1:79)
    at Object.embedSWF (FusionCharts.js?build=default&version=1.1:94)
    at r.core.render (FusionCharts.js?build=default&version=1.1:109)
    at Object.render (FusionCharts.js?build=default&version=1.1:56)
    at r.core.render (FusionCharts.js?build=default&version=1.1:63)
    at Function.render (FusionCharts.js?build=default&version=1.1:65)
    at A (FusionCharts.jqueryplugin.js?build=default&version=1.1:23)
    at init.i.fn.insertFusionCharts (FusionCharts.jqueryplugin.js?build=default&version=1.1:25)

Share this post


Link to post
Share on other sites

Hi,

Please note flash charts are deprecated FusionCharts now renders in pure javascript, kindly upgrade to the latest version i.e. 3.12.2 to get all the latest features and improvements.

We would also like to let you know that we have a dedicated JSP wrapper using which you could render FusionCharts using java as a server-side language, please check this link for reference - https://www.fusioncharts.com/dev/using-with-server-side-languages/java/introduction.html

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now