hsaqer Report post Posted January 4, 2009 I have some drill-down chart and I would like to integerate them with GWT. On the updatechart js function I add: var chartObj = getChartFromId("CityDetails"); alert("chartObj:" + chartObj.innerHTML); chartObj.setDataXML("<chart><set label='A' value='10' /><set label='B' value='115' /></chart>"); The getChartFromId is working fine and get the chart object (and I alert the innerHTML to check), but the call to setDataXML does not execute and hence the chart not update. Share this post Link to post Share on other sites
FusionCharts Support Report post Posted January 5, 2009 Hi, Please check these: 1. Make sure you have registerWithJS setting on when rendering the chart. 2. You are ACTUALLY passing the DOMId of the chart and not the DIV to the getChartFromId function: Note: the id is passed to the chart while defining the chart: the bold id is the chart's id. var myChart = new FusionCharts("Column3D.swf", "myChartId", "500", "400", "0", "1"); This actually sets the id of the <object>/ <embed> element. Hence, the innerHTML of the chart would be either some <params> (in IE) or nothing at all in other browsers where <embed> is supported. Share this post Link to post Share on other sites