diff --git a/NEWS.txt b/NEWS.txt index e051c42..e77a13b 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -32,6 +32,15 @@ but if you just configure a base color Flot will now autogenerate a tick color by adding transparency. Backwards-compatibility hooks are in place. +Final note: now that IE 9 is coming out with canvas support, you may +want to adapt the excanvas include to skip loading it in IE 9 (the +examples have been adapted thanks to Ryley Breiddal). An alternative +to excanvas using Flash has also surfaced, if your graphs are slow in +IE, you may want to give it a spin: + + http://code.google.com/p/flashcanvas/ + + Changes: - Support for specifying a bottom for each point for line charts when @@ -82,7 +91,8 @@ Bug fixes: - Fixed a problem introduced in 0.6 with specifying a gradient with { brightness: x, opacity: y }. - Don't use $.browser.msie, check for getContext on the created canvas - element instead and try to use excanvas if it's not found. + element instead and try to use excanvas if it's not found (fixes IE + 9 compatibility). - highlight(s, index) was looking up the point in the original s.data instead of in the computed datapoints array, which breaks with plugins that modify the datapoints (such as the stacking plugin). @@ -116,6 +126,7 @@ Bug fixes: - Fix possible excanvas leak (report and suggested fix by tom9729). - Fix bug with backwards compatibility for shadowSize = 0 (report and suggested fix by aspinak). +- Adapt examples to skip loading excanvas (fix by Ryley Breiddal). Flot 0.6 diff --git a/README.txt b/README.txt index 0d37717..1e49787 100644 --- a/README.txt +++ b/README.txt @@ -23,16 +23,18 @@ For support for Internet Explorer < 9, you can use Excanvas, a canvas emulator; this is used in the examples bundled with Flot. You just include the excanvas script like this: - + If it's not working on your development IE 6.0, check that it has support for VML which Excanvas is relying on. It appears that some stripped down versions used for test environments on virtual machines lack the VML support. -You can also try using Flashcanvas (see FlashCanvas.net), which uses -Flash to do the emulation. It might be faster with charts with many -points. Flot contains some wrapper code for activating Excanvas which +You can also try using Flashcanvas (see +http://code.google.com/p/flashcanvas/), which uses Flash to do the +emulation. Although Flash can be a bit slower to load than VML, if +you've got a lot of points, the Flash version can be much faster +overall. Flot contains some wrapper code for activating Excanvas which Flashcanvas is compatible with. You need at least jQuery 1.2.6, but try at least 1.3.2 for interactive diff --git a/examples/ajax.html b/examples/ajax.html index 385a834..22243ae 100644 --- a/examples/ajax.html +++ b/examples/ajax.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/annotating.html b/examples/annotating.html index 9d99ea4..d0a7928 100644 --- a/examples/annotating.html +++ b/examples/annotating.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/basic.html b/examples/basic.html index fde8def..d2f676f 100644 --- a/examples/basic.html +++ b/examples/basic.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/graph-types.html b/examples/graph-types.html index b3c3818..a10bcc5 100644 --- a/examples/graph-types.html +++ b/examples/graph-types.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/image.html b/examples/image.html index 57189d2..d23f2dd 100644 --- a/examples/image.html +++ b/examples/image.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/interacting-axes.html b/examples/interacting-axes.html index 719c52d..adeae4f 100644 --- a/examples/interacting-axes.html +++ b/examples/interacting-axes.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/interacting.html b/examples/interacting.html index dd8e6c6..0412d21 100644 --- a/examples/interacting.html +++ b/examples/interacting.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/multiple-axes.html b/examples/multiple-axes.html index fd86cfb..2f2aae2 100644 --- a/examples/multiple-axes.html +++ b/examples/multiple-axes.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/navigate.html b/examples/navigate.html index 78eff55..5bda218 100644 --- a/examples/navigate.html +++ b/examples/navigate.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/percentiles.html b/examples/percentiles.html index 3258165..db445d2 100644 --- a/examples/percentiles.html +++ b/examples/percentiles.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/pie.html b/examples/pie.html index 2f2c4c1..3af6680 100644 --- a/examples/pie.html +++ b/examples/pie.html @@ -3,7 +3,7 @@ Flot Pie Examples - + diff --git a/examples/resize.html b/examples/resize.html index 5403f2e..ae49767 100644 --- a/examples/resize.html +++ b/examples/resize.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/selection.html b/examples/selection.html index 638030f..584cc25 100644 --- a/examples/selection.html +++ b/examples/selection.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/setting-options.html b/examples/setting-options.html index 780d958..217ed1c 100644 --- a/examples/setting-options.html +++ b/examples/setting-options.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/stacking.html b/examples/stacking.html index 81e85fb..1f006bc 100644 --- a/examples/stacking.html +++ b/examples/stacking.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/symbols.html b/examples/symbols.html index 6b02417..17c6c5b 100644 --- a/examples/symbols.html +++ b/examples/symbols.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/thresholding.html b/examples/thresholding.html index 10b5b2a..9ddb60a 100644 --- a/examples/thresholding.html +++ b/examples/thresholding.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/time.html b/examples/time.html index 314167b..37a31dd 100644 --- a/examples/time.html +++ b/examples/time.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/tracking.html b/examples/tracking.html index a0ad77d..cfd9fec 100644 --- a/examples/tracking.html +++ b/examples/tracking.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/turning-series.html b/examples/turning-series.html index f72fe62..2f78b80 100644 --- a/examples/turning-series.html +++ b/examples/turning-series.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/visitors.html b/examples/visitors.html index a1cda7f..77beb09 100644 --- a/examples/visitors.html +++ b/examples/visitors.html @@ -4,7 +4,7 @@ Flot Examples - + diff --git a/examples/zooming.html b/examples/zooming.html index c6e2d7d..d6d8102 100644 --- a/examples/zooming.html +++ b/examples/zooming.html @@ -4,7 +4,7 @@ Flot Examples - +