This is a migrated thread and some comments may be shown as answers.

Radial Gauge always shows in left alignment in my div, i cant make it to center.

1 Answer 169 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
Amjath
Top achievements
Rank 1
Amjath asked on 31 Mar 2016, 07:34 AM

Hello,

Radial Gauge always shows in left alignment in my div, i cant make it to center.

 

please help me

 

with thanks 

Amjath

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 05 Apr 2016, 06:39 AM
Hi Amjath,

You can try the approach from this forum post:

<div style="border: 1px solid green; width: 800px;text-align:center">
    <telerik:RadRadialGauge runat="server" ID="RadRadialGauge1" Height="350px" Width="350px" BorderStyle="Dashed" style="display:inline-block;">
        <Pointer Value="220" Color="Black">
            <Cap Color="Gray" Size="0.1" />
        </Pointer>
        <Scale Min="120" Max="300" MajorUnit="30" MinorUnit="5">
            <Labels Format="{0} °C" Position="Outside" />
            <Ranges>
                <telerik:GaugeRange Color="Orange" From="150" To="190" />
                <telerik:GaugeRange Color="Green" From="190" To="230" />
                <telerik:GaugeRange Color="Red" From="230" To="300" />
            </Ranges>
        </Scale>
    </telerik:RadRadialGauge>
</div>


Regards,
Danail Vasilev
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
Gauge
Asked by
Amjath
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Share this question
or