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.
Forums Home / ComponentOne / Blazor Edition
Posted by: mwilson on 3 March 2026, 7:55 pm EST
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