HTML5 Canvas or SVG

2 posts, 0 answers
  1. Keith
    Keith avatar
    2 posts
    Member since:
    Jun 2012

    Posted 25 Jun 2012 Link to this post

    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?
  2. Keith
    Keith avatar
    2 posts
    Member since:
    Jun 2012

    Posted 17 Jul 2012 Link to this post

    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.
Back to Top