Code To Change/Extend Default Configuration

Recommended Posts

In case you need to repeatedly provide the same parameters to charts created using this plugin, you may choose to update the default configuration itself! This will save you from repeatedly writing the same code and would also help in consolidating settings ate one place.




Using the "extend" method of jQuery, one can easily update the default settings of FusionCharts jQuery plugin.




For instance, if you want to update the "swfPath" attribute's default value to point to a different location, you can write the following code.


<script type=

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