qingyangmoke / explorercanvas

Explorercanvas (excanvas.js) is an open source, Apache-licensed JavaScript library that implements the canvas API in Internet Explorer
Apache License 2.0
0 stars 0 forks source link

Fails to draw on IE8 #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use IE8 :) 
2. Go to http://www.solutoire.com/experiments/flotr/examples/basic.html
(which uses excanvas.js

What is the expected output? What do you see instead?

- Only the axis are drawn. No chart lines

What version of the product are you using? On what operating system?
- Win vista

Comment:
I'm not 100% sure it's an issue with excanvas.js rather than with flotr,
but from what I googled, I think it is.

Original issue reported on code.google.com by jerome.e...@gmail.com on 10 Oct 2009 at 12:18

GoogleCodeExporter commented 9 years ago
You should try here : 
http://phenxdesign.net/projects/flotr/examples/prototype/basic.html
This is the place where the examples of the newer version are hosted.

Original comment by fabien.menager on 10 Oct 2009 at 1:27

GoogleCodeExporter commented 9 years ago
IE8 in IE7 compatibility mode does the trick.

Include 
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">

Before any other meta/link in the html head.

Original comment by jerome.e...@gmail.com on 10 Oct 2009 at 1:46

GoogleCodeExporter commented 9 years ago
We fixed IE8 support a while ago. Maybe flotr is using an old version?

Original comment by erik.arv...@gmail.com on 15 Oct 2009 at 5:36

GoogleCodeExporter commented 9 years ago
My mistake; if I draw the graph on the page loaded event, everything works 
fine. No
need for compatibility mode forcing. 

Original comment by jerome.e...@gmail.com on 15 Oct 2009 at 12:55