PhenX / flotr

Automatically exported from code.google.com/p/flotr
0 stars 0 forks source link

NPE in IE9 #202

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I've script which draws pie chart.
It worked in almost all browsers (checked in: FF>=3, Google Chrome, IE9 (in 
compatible mode)) except IE9 (9.0.8112.16421, Windows 7, 32-bits).
In JavaScript console window I saw following error message:

SCRIPT5007: Unable to get value of the property 'initElement': object is null 
or undefined 
flotr-0.2.0-alpha.js, line 2 character 7657

It seems that IE9 supports native canvas object so code should be fixed.
I've made this fix. Fixed version is in attachment.

Original issue reported on code.google.com by dmitry.t...@gmail.com on 18 Aug 2011 at 11:37

Attachments:

GoogleCodeExporter commented 8 years ago
This fix works for me- thanks dmitry.
However on IE9 zoom does not work- I do not know yet what is the reason.

Original comment by maie...@o2.pl on 5 Sep 2011 at 8:20