Comments on: Canvas in IE http://me.eae.net/archive/2005/12/29/canvas-in-ie/ The journal of Emil A Eklund Mon, 21 Aug 2017 00:20:30 +0000 http://wordpress.org/?v=2.0 by: Membuat Javascript Chart Tabulasi Pemilu 2009 - Ahmad Masykur http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-346290 Wed, 15 Apr 2009 22:48:45 +0000 http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-346290 [...] HTML5 telah didukung oleh sebagian besar browser modern seperti Firefox, Opera, Safari dan Google Chrome. Apakah IE juga telah mendukung HTML5? IE belum sepenuhnya mendukung HTML5. Dengan tidak adanya dukungan HTML5 pada IE, kita harus cari alternatif lain untuk menggambar pada IE. Caranya adalah dengan menggunakan Vector Markup Language yang didukung oleh IE. Untuk membuat chart saya gunakan library yang dapat diambil di http://www.jscharts.com/. [...] […] HTML5 telah didukung oleh sebagian besar browser modern seperti Firefox, Opera, Safari dan Google Chrome. Apakah IE juga telah mendukung HTML5? IE belum sepenuhnya mendukung HTML5. Dengan tidak adanya dukungan HTML5 pada IE, kita harus cari alternatif lain untuk menggambar pada IE. Caranya adalah dengan menggunakan Vector Markup Language yang didukung oleh IE. Untuk membuat chart saya gunakan library yang dapat diambil di http://www.jscharts.com/. […]

]]>
by: Graphical Representation on the Web « Vision + Design + Dev http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-204395 Wed, 14 May 2008 15:38:54 +0000 http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-204395 [...] The HTML canvas is become more and more popular for drawing charts but still in its infancy. Its not supported by IE even though there is a workaround to make it work in IE. It also doesn’t have the robustness to support the many different charting needs such as events on chart elements and chart element composition.  That said, if you are building serious charting controls, this is definitely not for you. [...] […] The HTML canvas is become more and more popular for drawing charts but still in its infancy. Its not supported by IE even though there is a workaround to make it work in IE. It also doesn’t have the robustness to support the many different charting needs such as events on chart elements and chart element composition.  That said, if you are building serious charting controls, this is definitely not for you. […]

]]>
by: AlanH http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-168355 Sun, 16 Mar 2008 20:25:07 +0000 http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-168355 Hi. Great work! I've just started trying to implement an animated game replay as a web service, using Canvas in FF/Safari. It's pretty fast and effecitve, and I want to port it to IE. The excanvas.js library gets me some way there - I believe this was based on your work. However, the clearRect() only does a global clear. For major performance reasons, I really need to be able to clear previously drawn elements selectively, and then redraw those areas. Clearing the entire canvas and redrawing it from scratch gets painfully slow when trying to animate a complex view. I could probably get by if clearRect just deleted all existing elements that intersect the specified rectangle, or that are entirely contained within it. (with maybe even a mode switch to select which?). Is this feasible? I've had a quick look at the way the elements are set up in VML, and it seems there's no easy way to delete an individual item in a path. Should I create separate canvasses for each component of the view, overlaid in each other, so that I can clear a specific canvas? How is page performance affected by having lots of overlaid canvasses? One other thing I found out - I had a CSS rule that applied to divs nested in the same parent as my canvas elements. That was overriding the CSS that excanvas defines for the VML div. It was easy to fix by making the CSS rule more explicit, but it may be worth noting for other users. Alan Hi. Great work!

I’ve just started trying to implement an animated game replay as a web service, using Canvas in FF/Safari. It’s pretty fast and effecitve, and I want to port it to IE.

The excanvas.js library gets me some way there - I believe this was based on your work. However, the clearRect() only does a global clear. For major performance reasons, I really need to be able to clear previously drawn elements selectively, and then redraw those areas. Clearing the entire canvas and redrawing it from scratch gets painfully slow when trying to animate a complex view.

I could probably get by if clearRect just deleted all existing elements that intersect the specified rectangle, or that are entirely contained within it. (with maybe even a mode switch to select which?). Is this feasible? I’ve had a quick look at the way the elements are set up in VML, and it seems there’s no easy way to delete an individual item in a path. Should I create separate canvasses for each component of the view, overlaid in each other, so that I can clear a specific canvas? How is page performance affected by having lots of overlaid canvasses?

One other thing I found out - I had a CSS rule that applied to divs nested in the same parent as my canvas elements. That was overriding the CSS that excanvas defines for the VML div. It was easy to fix by making the CSS rule more explicit, but it may be worth noting for other users.

Alan

]]>
by: momoc_a » 又有新玩具:Canvas http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-148352 Wed, 09 Jan 2008 08:52:55 +0000 http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-148352 [...] canvas 是一个新的 html 元素,用来做为程序代码绘图的画布。而且 JavaScript 就能设定各项绘图指令。不过在 IE 下必须加载 这个 js 才能显示效果。 [...] […] canvas 是一个新的 html 元素,用来做为程序代码绘图的画布。而且 JavaScript 就能设定各项绘图指令。不过在 IE 下必须加载 这个 js 才能显示效果。 […]

]]>
by: indir http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-128287 Sat, 03 Nov 2007 11:17:43 +0000 http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-128287 wonderful work indeed. Thanks. wonderful work indeed. Thanks.

]]>
by: mark http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-128074 Thu, 01 Nov 2007 23:37:58 +0000 http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-128074 What is the memory consamption of a canvas? If I paint an image on a canvas will it consume the same resources when loading the image as BMP file? What is the memory consamption of a canvas? If I paint an image on a canvas will it consume the same resources when loading the image as BMP file?

]]>
by: indir http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-128047 Thu, 01 Nov 2007 19:24:43 +0000 http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-128047 I have a problem with ARC STYLE = PIESLICE, it’s render as CHORD style. Where could I insert or modify this parameter? I have a problem with ARC STYLE = PIESLICE, it’s render as CHORD style.
Where could I insert or modify this parameter?

]]>
by: Ted Roper http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-119027 Fri, 05 Oct 2007 21:45:22 +0000 http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-119027 Printing problem is not solved!! When you create an image using CANVAS it shows perfect in the screen and in the print preview, but when you print (both in PS and PCL printers it prints very small (about 100 px for an image of 600px-600px) and with incorrect colors. Is there a way to print canvas objects correctly? tks, ted Printing problem is not solved!!

When you create an image using CANVAS it shows perfect in the screen and in the print preview, but when you print (both in PS and PCL printers it prints very small (about 100 px for an image of 600px-600px) and with incorrect colors.

Is there a way to print canvas objects correctly?
tks,
ted

]]>
by: victorbos http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-117387 Mon, 01 Oct 2007 16:31:27 +0000 http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-117387 Stumbled across your neat solution. Looks like it is just what I need. Thanks a bunch. BTW: Someone asked way back if there is a way to make the drawings appear automatically. The following works for me. “window.onload = function() { ieCanvasInit(); setTimeout('draw()',500); }” As I am new to this canvas (and iecanvas) is there a list of methods you've implemented, e.g., createLinearGradient(...) and createRadialGradient(...)? Stumbled across your neat solution. Looks like it is just what I need. Thanks a bunch.

BTW: Someone asked way back if there is a way to make the drawings appear automatically. The following works for me.

“window.onload = function()
{ ieCanvasInit(); setTimeout(’draw()’,500); }”

As I am new to this canvas (and iecanvas) is there a list of methods you’ve implemented, e.g., createLinearGradient(…) and createRadialGradient(…)?

]]>
by: Reflection Image Effect Script » article » kaizeku ban http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-115352 Wed, 26 Sep 2007 01:36:36 +0000 http://me.eae.net/archive/2005/12/29/canvas-in-ie/#comment-115352 [...] Canvas in IE (VML) by Emil Eklund [...] […] Canvas in IE (VML) by Emil Eklund […]

]]>