Sign in to follow this  
ggoforth

Js Charts And Using The Link Attribute To Run A Javascript Callback

Recommended Posts

Ok, new issue now using javascript charts. I'm on Ubuntu 11.10 os, using firefox 12.

 

I have data objects that look like:

 

data: [

{value: 12, link: 'j-foo'},

{value: 15, link: 'j-foo'},

{value: 18, link: 'j-foo'}

]

 

When I render the charts with flash, and I click on any of the segments above, the callback is fired. Great. When I render with javascript, the click events do not fire. Any ideas why a javascript callback would not fire with a Javascript chart, but it will fire with a flash chart?

 

My FusionCharts constructor looks like:

 

        	var fusionChartConfig = {
           	swfUrl: '/path/to/proper/swf.swf',
           	width: '100%',
           	debugMode: false,
           	registerWithJS: true
       	};

       	//render a chart instance of the given data
       	this.chart = new FusionCharts(fusionChartConfig);

Edited by ggoforth

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