Edit this page

resize

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

Example

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

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

Parameters

force Boolean optional

Defines whether the widget should proceed with resizing even if the element dimensions have not changed.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy