Sign in to follow this  
mlibner

What do the last 4 arguments for instantiation a fusionchart mean?

Recommended Posts

I've looked in the online docs and can't locate this info.

 

I understand the usage for the first four arguments but not the last four.

 

 

 

In the code snippet below what does "0", "0", "FFFFFF", "exactFit" stand for and what other values are valid for these arguments?

 

 

 

var sf1 = new FusionCharts("../FusionCharts/Column3D.swf", "sfId1", "300", "100", "0", "0", "FFFFFF", "exactFit");

 

 

 

Thanks,

 

Mark

Share this post


Link to post
Share on other sites

Hi Mark,

The code snippet you had sent us:

Ref.- var sf1 = new FusionCharts("../FusionCharts/Column3D.swf", "sfId1", "300", "100", "0", "0", "FFFFFF", "exactFit");

Starting fron the extreme right:

"exactFit" : This refers to the Flash Scale Mode.

(For details on the same, please refer to:

  Ref.- http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WSd60f23110762d6b883b18f10cb1fe1af6-7bcca.html)

"FFFFFF" : This refers to the Background Color for the Flash Movie.

 "0" : This refers to the "RegisterwithJS" mode. To register the chart with JavaScript, we set the registerWithJS parameter to 1.

"0" : This refers to the "debugMode" flag. The debug window shows up on the chart when this parameter is set to 1.

Hope I could make myself clear.

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
Sign in to follow this