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

Resize

methods

Adjusts the chart layout to match the size of the container.

Use this method after changing the height or width of the chart container, including for charts bound to a dataSource. Call it on each affected chart instead of modifying the chart options.

<div id="chart" style="width: 400px;"></div>
<script>
$("#chart").kendoChart({
  series: [
    { type: "line", data: [1, 2] }
  ]
});

$("#chart").css("width", "800px")
           .data("kendoChart").resize();
</script>