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

Set the ArcGauge Size


Product Progress® Kendo UI® Gauge for jQuery, ASP.NET MVC, ASP.NET Core Progress® Telerik UI® Gauge for ASP.NET MVC, ASP.NET Core Progress® Telerik UI® Gauge for ASP.NET Core


The ArcGauge has a default size of 200px width. How can I set its size or make the ArcGauge fill its container?


You have to set the desired dimensions in the HTML element of the ArcGauge. The dimensions can be set in pixels or in percentage. If you use percentage, make sure that the parent elements also have the proper dimensions.

To resize an ArcGauge after its container changes its size or the ArcGauge is displayed, call its resize() method. This approach is mostly needed when the size of the ArcGauge is set in percentage.

If static dimensions are sufficient for your case and you prefer to set them in the widget configuration, you can use the gaugeArea.width and gaugeArea.height properties.

    #container {
      width: 300px;
      border: 1px solid red;

    /* Sample CSS rules to make the ArcGauges resize with their parent container
       after their resize() method has been called. You can also make such CSS rules more generic
       in your application by, for example, using the .k-arcgauge class instead for your selectors. */
    #gauge1 {
      width: 100%;
      height: 300px;

  <button onclick="resizeContainer();">resize container</button>
  <div id="container">
    <div id="gauge1"></div>
    <!-- The second Gauge uses inline rules to showcase the possibility. -->
    <div id="gauge2" style="width: 100%; height: 300px;"></div>
    <!-- The third Gauge has its size set in the declaration and is in pixels
    so that it will not resize with its parent container like the other two will. -->
    <div id="gauge3"></div>

    function resizeContainer() {
      var container =  $("#container");
      kendo.resize(container);//resize the Kendo widgets in the container after it gets resized/shown

    $("#gauge1, #gauge2").kendoArcGauge({value: 23});
      value: 23,
           width: 100,
           height: 100

Currently, the HTML Helpers do not pass inline styles. You need to resize the Gauges manually as demonstrated this enhancement issue.

     [data-role="arcgauge"] [data-role='surface'] {
        /* set the size of gauges to fill their containers. You may want to make the selectors more specific */
        width: 100% !important;
        height: 100% !important;

    .gauge-container {
        width: 600px;
        height: 400px;

<div class="gauge-container">

See Also

In this article