View Full Version : EXT Charts are not working in IE

6 Jul 2012, 2:12 AM
Need help in solving the issue with the charts in EXT JS.

We have an application using the EXTJS 4.1. Every thing is working fine in the Chrome and Fire Fox.But it is not working in IE. I tried removing the unwanted commas,and logs.The grids are displaying fine but the charts are not displaying in IE.

We have a grid from where we calculate the totals of the columns using the renderer function and save the totals in to an array .Finally we use the generated array and create the store which will be used for charts.

In the Chrome Developer tools i could see "

Resource interpreted as Script but transferred with MIME type text/html: "ext-all-debug.js:8258 ([%7B)

Uncaught SyntaxError: Unexpected token < "

Can some one help me in resolving the issue.?

6 Jul 2012, 3:26 AM

Looks like you may have trimmed off too much .

If you are using source control you can revert to an earlier version .

You make also see a better error emssage ( and be able to step the execution ) if you use firefox with firebug.

6 Jul 2012, 9:43 AM
Do our online examples work in IE for you? Sounds like you have a syntax error in your code.


9 Jul 2012, 2:10 AM
I am loading the store using belo code.

store = Ext.create( 'Ext.data.Store',{
model: 'Product',
autoLoad: true,
proxy: new Ext.data.ScriptTagProxy({
type: 'ajax',
url: 'xxx.pl?&ProdFlag=Get',
method : 'GET',
reader: {
type: 'json',
root: 'data',
model: 'Product'
fields: ['ProductID','Product_Name']

when Call back is returning the json we are getting the below error.

Resource interpreted as Script but transferred with MIME type text/html: "". ext-all-debug.js:8258 (

Uncaught SyntaxError: Unexpected token <

Let us know if there is any other way in loading the store so that we can avoid the above errors.

Also as i told earlier i am using the array store of charts.According to my understanding when the array store is empty we are getting the below error.

Error: Invalid value for <rect> attribute height="NaN"

Error: Invalid value for <rect> attribute y="NaN"

I think if i can fix these errors the charts should be displayed.

10 Jul 2012, 2:55 AM
I have fixed all the errors that are showing up in the fire bug or in chrome.

When i tried to run it in IE 7 i am getting the below error.

"object doesn't support this property or method".

can any one share what this error is?

10 Jul 2012, 4:16 PM
Do you get this on any other version of IE?

Are you using a hard id for any of your components?.. perhaps try/catch and check for errors?

You will need to provide more detail .. since you said you fixed all of the errors.