Closed GoogleCodeExporter closed 8 years ago
I find that when i use the excanvas.js / excanvas.min.js without conditional
statments the initElement error goes away but another one comes up in IE.
I tested the same page in FF5 and Chrome and no javascript error so i have left
them without conditional statements.
I do however get a different error but that i will post in another thread.
How about you... what happens when you take out the conditional statements
Original comment by littlefr...@gmail.com
on 10 Aug 2011 at 7:01
Hi,
yes, if I take out the conditional statements no javascript error occurs; that
solves the issue I've reported in the second paragraph of my pevious mail.
But the issue reported in the third paragraph lives on; so, if I use IE9 whith
different browse mode and document mode (IE8, for example), no error occurs and
NO chart is drawn.
Best regards,
Elena.
PS: I wish my english were clear enough :-)
Original comment by elena.ar...@aboutsoft.it
on 11 Aug 2011 at 9:19
I got the same issue. Fixed by changing the conditional statement to "[if lte
IE 9]"
Original comment by VolkVolk...@gmail.com
on 6 Jan 2012 at 11:50
I had the same issue. However I did update to latest excanvas.js from the
excanvas source site and put it in without conditionals and seemed to fix the
issue. But please advise on best practice once fixed. Thanks! Doug
Original comment by doug.ode...@gmail.com
on 9 Mar 2012 at 5:39
Flot requires canvas support. When you use IE9 in quirks mode, canvas is not
present, nor is excanvas included due to the conditional.
So there isn't really a best-practice; you just have to ensure that canvas is
present when Flot tries to use it. In the case of IE, that means including a
valid DOCTYPE so your page renders in standards mode rather than quirks mode.
Original comment by dnsch...@gmail.com
on 9 May 2012 at 12:32
Original comment by dnsch...@gmail.com
on 9 May 2012 at 12:49
I am just starting to test Flot in IE 9 and encountering several problems. From
the dialog above it is not clear whether these problems have been fixed or not.
Here is what I get:
Unable to get value of the property 'initElement': object is null or undefined
jquery.flot.js, line 697 character 17
Object doesn't support property or method 'getContext'
jquery.flot.js, line 765 character 13
I am using Flot 0.7.
Please advise of fix or work around.
Original comment by rhjone...@gmail.com
on 18 Dec 2012 at 11:36
Original issue reported on code.google.com by
elena.ar...@aboutsoft.it
on 10 Aug 2011 at 9:47Attachments: