PDA

View Full Version : How to fix a problem in IE not displaying chart



inforanjith
8 Nov 2010, 11:05 PM
Hi ,
I am ranjith new to ExtJs.I loved it...Its really nice and UI is also good.I make a chart in Open flash chart and i pass a data through Json.IN Firefox,chrome and other browser i got the output chart.But in IE browser only loading is happened not display any chart.I got the info from sencha forum remove Doctype! its working fine in all browser and we put Doctype its worked only in IE browser...plz plz how i fix this problem...Thanks a million in advance :)

The piece of code i used is

var start = {
xtype:'portal',
layoutConfig:{
animate:true
},
plain:true,
items:[{
columnWidth:'.49',
style:'padding:5px 0 5px 5px',
items:[{
title: 'Line Chart',
contentEl: 'absolute-details3'
}]
}
};
another set is

swfobject.embedSWF(
"addons/chart/open-flash-chart.swf", "divchart3",
"100%", "100%", "9.0.0", "expressInstall.swf",
{"data-file":"{/literal}{php}{echo urlencode("filename");}{/php}{literal}","id":"divcon"}, {allowScriptAccess:'always'},{plugins: new Ext.ux.FlashPlugin()});

another set is
<div id="absolute-details3" style="padding:15px;">
<div id="divchart3"></div>
</div>