Search results

Circular Gauge Dimensions

Size for Circular Gauge

You can set size for the Circular Gauge directly using the Width and Height properties.

In pixel

You can set the size of the Circular Gauge in pixel as demonstrated below.

@using Syncfusion.EJ2.Blazor.CircularGauge

<EjsCircularGauge Width= "200px" Height= "200px"></EjsCircularGauge>

Circular Gauge size in pixel

In percentage

By setting value in percentage, gauge gets its dimension with respect to its container. For example, when the height is ‘50%’, gauge is rendered to half of the container height.

@using Syncfusion.EJ2.Blazor.CircularGauge

<div style="height:450px; width:450px">
    <EjsCircularGauge Width="50%" Height="50%"></EjsCircularGauge>
</div>

Circular Gauge size in percentage

Note: When you do not specify the size, it takes 450 pixels as the height and takes window size as its width.