resize

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

Example

<div id="gauge" style="width: 100px; height: 100px;"></div>
<script>
    $("#gauge").kendoCircularGauge({
        value: 50
    });

    $("#gauge").css({ width: "200px", height: "200px" })
        .data("kendoCircularGauge").resize();
</script>

Parameters

force Boolean optional

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

In this article