This is a migrated thread and some comments may be shown as answers.

HTML5 Canvas or SVG

1 Answer 197 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Keith
Top achievements
Rank 1
Keith asked on 25 Jun 2012, 04:42 PM
On the DataViz homepage (http://www.kendoui.com/dataviz.aspx) you state the visualizations are powered by HTML5, but then in the Line Charts samples area, it says "The Chart widget uses modern browser technologies to render high-quality data visualizations. All graphics are rendered on the client using SVG with a fallback to VML for legacy browsers."

So which is it? HTML5 using the Canvas, or SVG?

1 Answer, 1 is accepted

Sort by
0
Keith
Top achievements
Rank 1
answered on 17 Jul 2012, 01:08 PM
Here is what I received from tech support:

"

Kendo UI DataViz utilizes SVG in order to render the charts and gauges – the canvas element is not supported.
While the canvas element was introduced with the HTML5 specifications, it is not necessarily better than SVG which is a standard on its own that several browsers (aside from IE which took until IE9 to implement) have implemented for quite some time. There are several discussions online which specifically compare the two approaches, but from our perspective the SVG element is the superior choice for charts and gauges not only in terms of interactivity but also performance.

"
I have not done my own benchmarking, but I would have to disagree (and there are plenty of other articles which compare these 2) on "superior performance" statement for charts. Interactivity makes sense because SVG has a DOM to work with.
I asked the support contact to update their webpage with this information, as the current info is very misleading.
Tags
General Discussions
Asked by
Keith
Top achievements
Rank 1
Answers by
Keith
Top achievements
Rank 1
Share this question
or