resize

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

Example

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

    $("#gauge").css({ width: "200px", height: "200px" })
        .data("kendoArcGauge").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
Not finding the help you need? Improve this article