When I get my chart using getChartFromId in the chart rendered event, and try to load some new data, I get the setDataXML not found error. I'm using firefox and mixing with seam and extjs. Ive searched the forums and google but have had no luck... We are looking to purchase a license very soon but need to get this working first...
The chart will appear within this DIV. This text will be replaced by the chart.
function FC_Rendered(DOMId){
var myChart= getChartFromId("chart1id");
myChart.setDataXML(chartXml);
return true;
}
var callback1 = function(chartXml) {
var chart1 = new FusionCharts("#{contextPath}/fusioncharts/templates/Column3D.swf", "chart1id", "450", "300", "0", "1");
chart1.setDataXML(chartXml);
chart1.render("chart1div");
};
Seam.Component.getInstance('dashboard').getOpportunitiesByCustomerType(callback1);