Rajavelu

DebugMode in jqueryplugin is not working?

Recommended Posts

Hi !

    Debug mode in jqueryplugin is not working for charts&maps to me. My code :

 

<span id="map"></span>

<script>

$("#map").insertFusionCharts({

dataSource: 'test1.xml',

height : "100%",

width : "100%",

renderer  : "JavaScript",

quality : "high",

type:"WorldwithCountries",

dataFormat: "xmlurl",

debugMode: "1"

});

</script>

Share this post


Link to post
Share on other sites
Hi,
 
The JavaScript variants of FusionCharts can be debugged by using the FusionCharts JavaScript Debug Mode. It allows users to watch the chart’s JS activities and debug charts accordingly.
 
To enable the JavaScript Debug Mode, you need to write the following lines of code:
 
FusionCharts.debugMode.enabled(true);
Also, you need to specify where you will like to display the debugMode output. In case you want to see the error within the browser’s JavaScript console, you will need to write the following lines of code.
 
FusionCharts.debugMode.outputTo( function() { console.log(arguments); } );

For more information, please refer our documentation link : http://docs.fusioncharts.com/charts/contents/Debug/JS.html

 

Hope this helps.  :)

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