This is the HTML I used to create Fusion Chart
-------String : chartHtml -------
------------------------------
I place this HTML into HTMLFlow widget
This approach works fine in Firefox. But it does not work in IE (testing in IE 7). The Javascript present in HTML does not run in IE.
I tried using HTMLFlow.setContentsType(ContentsType.PAGE). It doesnt work.
How do we fix this problem ? Is there a different/better approach to integrate Smart GWT with Fusion Charts ?
Thanks in Advance
Nagarajan
-------String : chartHtml -------
Code:
<div id='chartDiv' align='center'> <script type='text/javascript' language='javascript'> var chart = new FusionCharts('<Fusion Chart Params>'); chart.setDataXML('<Fusion Chart XML>'); chart.render("chartDiv"); </script> </div>
I place this HTML into HTMLFlow widget
Code:
final HTMLFlow contentHTML = new HTMLFlow(); contentHTML.setContents(chartHtml );
This approach works fine in Firefox. But it does not work in IE (testing in IE 7). The Javascript present in HTML does not run in IE.
I tried using HTMLFlow.setContentsType(ContentsType.PAGE). It doesnt work.
How do we fix this problem ? Is there a different/better approach to integrate Smart GWT with Fusion Charts ?
Thanks in Advance
Nagarajan
Comment