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

Text is not centered.

1 Answer 73 Views
Gauges
This is a migrated thread and some comments may be shown as answers.
MB
Top achievements
Rank 1
MB asked on 16 Jun 2017, 08:49 AM
<telerikGauges:RadRadialGauge.Indicators>
 
   <telerikGauges:GaugeNeedleIndicator Offset="30" Value="{Binding Kpi.Production.Tone}" />
 
   <telerikGauges:GaugeTextIndicator HorizontalTextPlacement="Center" VerticalTextPlacement="Top" FontSize="20" FontAttributes="Bold" FontFamily="Calibri" TextColor="Navy" Text="{Binding Kpi.OEEPercent, StringFormat='OEE: %{0:N0}'}"/>
 
</telerikGauges:RadRadialGauge.Indicators>

 

Is there a solution?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 19 Jun 2017, 02:32 PM
Hi ,

I believe you are using the wrong element to achieve the behavior you are aiming at. The purpose of all indicators available for the RadGauge is to point where the value lies within the gauge itself. For example, if you set a value to the GaugeTextIndicator, you will notice that the GaugeTextIndicator's position will change so that it represent the exact place where the value is within the gauge. On the other hand, I believe you would like to simply add an element that shows the exact value and center this element in the bottom middle. You can consider modifying your structure so that a label(or another element of your choice) is rendered at a specific position on top of the gauge.

Have a great week.

Regards,
Stefan Nenchev
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Gauges
Asked by
MB
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Share this question
or