Change Height of C1LinearGauge

Posted by: mwilson on 3 March 2026, 7:55 pm EST

    • Post Options:
    • Link

    Posted 3 March 2026, 7:55 pm EST

    Hello,

    I am wondering if there is a way to adjust the height of the C1LinearGauge.

    changing it through the Style parameter doesn’t seem to work for me.

    thanks.

  • Posted 5 March 2026, 2:23 am EST

    Hi,

    You can use the “Class” property on the C1LinearGaugue and then set the height. Please refer to the following code snippet and the attached sample.

    <style>
        .linear-gauge-class {
            height: 60px;
        }
    </style>
    
    <C1LinearGauge Value="25" TextVisibility="GaugeTextVisibility.All" Class="linear-gauge-class"></C1LinearGauge>
    

    Let us know if you face any issues.

    Regards,

    Ankit

    LinearGaugue_Height.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels