Sign in to follow this  
andymarsh

Fusion Charts v3 Update In FileMaker 9

Recommended Posts

Hi,

 

 

 

We've been using Fusion Charts in FileMaker 9 successfully on Mac. Installing the update breaks charts in FileMaker 9 web viewer on Mac OSX 10.5. The chart doesn't render, all that is displayed is "FusionCharts." text.

 

 

 

The following code is at fault, removing it from the .js file fixes things and the chart displays.

 

 

 


getSWFHTML: function() {

	var swfNode = "";

	if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) { 

	 netscape plugin architecture swfNode = '


width="'+ 

this.getAttribute('width') +'"

height="'+ this.getAttribute('height') +'"  ';

		swfNode += ' id="'+ this.getAttribute('id') +'" name="'+ this.getAttribute('id') +'" ';

		var params = this.getParams();

		 for(var key in params){ swfNode += [key] +'="'+ params[key] +'" '; }

		var pairs = this.getVariablePairs().join("&");

		 if (pairs.length > 0){ swfNode += 'flashvars="'+ pairs +'"'; }

		swfNode += '/>';

	} else { // PC IE			

		swfNode = '';

		swfNode += '';

		var params = this.getParams();

		for(var key in params) {

		 swfNode += '';

		}

		var pairs = this.getVariablePairs().join("&");			

		if(pairs.length > 0) {swfNode += '';}

		swfNode += "";

	}

	return swfNode;

},

Edited by Guest

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