Recommended Posts

Hey,

 

Added Listener while rendering.find below code .

 

 

 

function myChartListener(eventObject, argumentsObject) {

 

/// add code for popup

}

 

 

/// render code

FusionCharts.setCurrentRenderer('JavaScript');

var chartId = "ChartId"+ Math.floor(Math.random() * (new Date()).getTime() + 1);

var chiefExecutiveChart = new FusionCharts(path, chartId, width,height,'0', '1');

chiefExecutiveChart.setDataXML(xml.join(""));

chiefExecutiveChart.render(divId);

 

FusionCharts(chartId).addEventListener("click",

myChartListener);

 

 

thanks

babu

Hi...

how to open new popup window when click pie chart using java script....

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