New to Kendo UI for jQuery? Start a free 30-day trial

RenderAs

configuration

Sets the preferred rendering engine. If it is not supported by the browser, the Chart will switch to the first available mode.

The supported values are:

  • "svg" - renders the widget as inline SVG document, if available
  • "canvas" - renders the widget as a Canvas element, if available.

renderAs

String
<div id="chart"></div>
<script>
    $("#chart").kendoChart({
        renderAs: "canvas",
        series: [{
            type: "pie",
            data: [1, 2]
        }],
        categoryAxis: {
            categories: ["Foo", "Bar"]
        }
    });
</script>
Not finding the help you need?
Contact Support