PrevorCZ / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

Not working with ie 8 #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Not working with ie 8

Original issue reported on code.google.com by eng.amos...@gmail.com on 21 Oct 2008 at 6:50

GoogleCodeExporter commented 9 years ago
I think it's a problem with excanvas. However, I don't know the status. As I
understand it, IE 8 is not out yet so the game is still changing.

Original comment by olau%iol...@gtempaccount.com on 23 Oct 2008 at 12:36

GoogleCodeExporter commented 9 years ago
Flot _is_ working with IE8 (beta 2), but so far only in quirks mode (i.e. non-
standard mode with no DOCTYPE). It is e.g. possible to do an iframe in quirks 
mode 
for IE8, so that it can be included in a standard document. IE8 has some bugs 
and is 
not stable yet, but excanvas will soon have to be updated.
See http://groups.google.com/group/google-excanvas/msg/c2372c8027e9cf30
Regards,
http://alexandre.alapetite.net

Original comment by alexandre.alapetite on 16 Nov 2008 at 11:57

GoogleCodeExporter commented 9 years ago
I know this issue is old, but the latest exCanvas revision works in IE8 beta 2 
(in
any mode).

Original comment by phenxdesign on 26 Jan 2009 at 9:33

GoogleCodeExporter commented 9 years ago
Do you know whether it works with IE 6? Last time I checked (because the latest
release has known problems with leaks), the SVN version didn't work in IE 6.

I posted in this thread:

http://groups.google.com/group/google-excanvas/browse_thread/thread/df1f1fdf48a2
ba38

Oh, I can see there are updates on it. I need to try again.

Original comment by olau%iol...@gtempaccount.com on 27 Jan 2009 at 12:52

GoogleCodeExporter commented 9 years ago
Yes it works in IE6, with the latest revision. I don't know for the memory 
leaks ...
And I'm sad to know <canvas> won't be supported in IE8, we'll still need to use
workarounds like exCanvas :(

Original comment by fabien.menager on 29 Jan 2009 at 6:38

GoogleCodeExporter commented 9 years ago
Issue 111 has been merged into this issue.

Original comment by olau%iol...@gtempaccount.com on 11 Feb 2009 at 9:53

GoogleCodeExporter commented 9 years ago
New version of excanvas is in SVN. I had to work-around the problem with IE6. 
Please
reopen if any problems remain.

Original comment by olau%iol...@gtempaccount.com on 20 Feb 2009 at 4:10

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I don't see why this problem has been tagged "fixed" - open the examples 
(http://people.iola.dk/olau/flot/examples/) in IE8 and none of them are 
working. The 
new version of excanvas introduces an error in line 144, btw.

Original comment by fdepu...@gmail.com on 29 Apr 2009 at 6:01

GoogleCodeExporter commented 9 years ago
Those examples are using Flot 0.5. The bug tracker here is tracking SVN Flot. 
Try the
SVN version of Flot with the SVN version of Excanvas. Note that it seems there 
still
were problems when I closed this (see issue 133), although I think I got that 
too
with the latest revision.

http://flot.googlecode.com/svn/trunk/jquery.flot.js
http://flot.googlecode.com/svn/trunk/excanvas.min.js

Yes, I need to release the code soon.

Original comment by olau%iol...@gtempaccount.com on 29 Apr 2009 at 8:40

GoogleCodeExporter commented 9 years ago
I used the SVN versions of jquery.flot.js and excanvas.min.js. They worked fine 
in FF
and IE8, however, they broke IE6. What was the workaround mentioned two comments
above to getting IE6 working with the SVN versions of the files?

I am new to these types of issues. I currently have conditional comments to 
find the
browser type and serve the appropriate javascript file (excanvas.min.js or
excanvas.pack.js, working with IE8 and IE6 respectively)

Also, I noticed that that new jquery.flot.js file broke IE6 even when served 
with the
correct excanvas file. In this case, I am serving the jquery.flot.js file. If 
the
browser is IE6, there is a conditional comment below that line calling the old 
file.
Like so:

<script language="javascript" type="text/javascript" 
src="js/jquery.flot.js"></script>
<!--[if IE 6]><script language="javascript" type="text/javascript"
src="js/jquery_old.flot.js"></script><![endif]-->

This is incredibly sloppy, but it is currently working. Does anyone have a 
better
solution?

Original comment by gmelu...@gmail.com on 15 Jul 2009 at 10:02

GoogleCodeExporter commented 9 years ago
Interesting enough...
got a new version of excanvas from
http://extflot.googlecode.com/svn/trunk/excanvas.r60.js

Think this is the same as the one available at
http://code.google.com/p/explorercanvas/, but not sure. 

Anyway, I put that in as a conditional for ALL IE browsers, and wiped the 
conditional
for calling the jquery_old.flot.js and it worked across all browsers.

Figured this may help someone else down the line.

Original comment by gmelu...@gmail.com on 16 Jul 2009 at 7:16

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Works with IE8 (with and without compatible mode too) and FF 3.5.3:

jquery min 1.3.2
flot svn 202
excanvas.r60

Tested basic features.

Original comment by tocadoba...@gmail.com on 13 Sep 2009 at 3:09

GoogleCodeExporter commented 9 years ago
I get error with excanvas.r60.js in all IE versions.
I use flot v0.5 and jquery 1.2.3

Original comment by analytic...@gmail.com on 15 Sep 2009 at 8:48

GoogleCodeExporter commented 9 years ago
analytics: new excanvas is incompatible with old Flot.

I don't understand the IE6 issue, but if you still get that with the latest SVN,
please open a new bug.

Original comment by olau%iol...@gtempaccount.com on 7 Oct 2009 at 3:56

GoogleCodeExporter commented 9 years ago
Don't know if anyone cares anymore....

Mine was working in IE8 in compatibility mode and was not working normally.

I don't know why this would have affected it, but I used an unpacked version of 
flot and excanvas instead of a packed version and now it is working in both 
modes.

Original comment by ajsa...@gmail.com on 9 Feb 2011 at 7:31

GoogleCodeExporter commented 9 years ago
Perhaps your packed version was actually the old version. I think I renamed the 
packed to .min.js to reflect that I no longer used the whacky packer but rather 
a minifier.

Original comment by ole.laur...@gmail.com on 10 Feb 2011 at 1:16

GoogleCodeExporter commented 9 years ago
One of my charts doesn't work in IE 8. Seems like the single difference is that 
one of them is using ticks. Does anyone know what happens? I tried to update 
and tried to put the code bellow too, but doesn't work yet.

var isIE = navigator.appName.indexOf("Microsoft") != -1;
var el = document.getElementById("chart");

if (isIE) {
    G_vmlCanvasManager.initElement(el); //method only loaded for IE
    var ctx = el.getContext('2d'); //dont know if this really is needed
}

var plot = $.plot(el, [d]);

Original comment by aripmav1...@gmail.com on 14 Mar 2011 at 8:24