Fleet and Internet Explorer 9?

I am going to select a chart library for my ASP.NET application.

I looked at the fleet, which is also used by stackoverflow. When I go to the fleet examples here: http://people.iola.dk/olau/flot/examples/

They look great. But not in IE9. I don't see anything in IE9. If I put my IE9 in IE8 or IE7 mode, it will work. If I go to the user page here on SO

https://stackoverflow.com/users/22656/jon-skeet?tab=reputation

It works in IE9 too. What am I missing? Is there a secret key SupportIE9 = true?

I looked at protoviz as an alternative. http://vis.stanford.edu/protovis/ex/

This looks great in IE9, but if I put the browser in IE7 or IE8, it depresses again.

Advice? How to make this work or an alternative that works with cross IE version? Firefox is not a problem. Works with all libraries :)

+5
source share
4 answers

Get the latest version of flot (currently 0.8.3).

There are some changes starting with version (0.6) that support IE9, in particular, a way to support IE6-8 canvas through a library called excanvas . IE9 now supports canvas natively, so excanvas should only be enabled if the user does not have IE9. A specific change to the subversion repository for the fleet is:

http://code.google.com/p/flot/source/detail?r=293

, , :

<!--[if IE]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]-->

:

<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="../excanvas.min.js"></script><![endif]-->
+9

flot IE9 , IE9 - JavaScript.

, , , :

$.plot($("#fig2"), [
{...},
{...},
], options});

IE , 3 , . !

0

All Articles