here is the code
var chart = new FusionCharts("../charts/Pie3D.swf", "ChartId","300", "200", "0", "0");
chart.setDataURL(
http://localhost:7001/WebProject/portlet/Ms.portlet?_nfpb=true&_st=&_windowLabel=portlet_MoversAndShakers_portlet&_urlType=resource&_portlet.renderResource=true&_resca=cacheLevelPage&_rrparams=);chart.render("id" + index);