Sign in to follow this  
gludington

Listeners Broken In 3.2.1?

Recommended Posts

I was using a beta version of 3.2, primarily to make use of the new javascript events. On the 3.2.1 final release, none of the javascript events work. In my particular code, I call the data for the chart after the chart has loaded:

 

	this.chart.addEventListener('Loaded', function(evt) {
		alert('in loaded');
		if (me.mask) {
			me.mask.show();
		}
		me.loadChart({pc:me.pcIds, from:me.from, to:me.to, span:me.span, rollup:me.rollup});
	});

 

In beta, this worked perfectly, but the event is never fired when using 3.2.1 release. (No chart loaded, no alert called) For that matter, hitting javascript examples in the distribution seem broken, as well. For example:

 

FusionCharts_Evaluation/Code/JavaScript/Basics/Events/Rendered.html is an old-style event, but no alert is raised.

 

If I substitute in an earlier beta of fusioncharts 3.2, everything works fine. Can you please take a look at the event model in 3.2.1 release? FusionCharts is entirely unusable in our application without being able to hook into events.

Share this post


Link to post
Share on other sites

I was using a beta version of 3.2, primarily to make use of the new javascript events. On the 3.2.1 final release, none of the javascript events work. In my particular code, I call the data for the chart after the chart has loaded:

 

	this.chart.addEventListener('Loaded', function(evt) {
		alert('in loaded');
		if (me.mask) {
			me.mask.show();
		}
		me.loadChart({pc:me.pcIds, from:me.from, to:me.to, span:me.span, rollup:me.rollup});
	});

 

In beta, this worked perfectly, but the event is never fired when using 3.2.1 release. (No chart loaded, no alert called) For that matter, hitting javascript examples in the distribution seem broken, as well. For example:

 

FusionCharts_Evaluation/Code/JavaScript/Basics/Events/Rendered.html is an old-style event, but no alert is raised.

 

If I substitute in an earlier beta of fusioncharts 3.2, everything works fine. Can you please take a look at the event model in 3.2.1 release? FusionCharts is entirely unusable in our application without being able to hook into events.

 

Seems to be working now...perhaps I had a mixture of beta js and release swf (or the other way around).

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