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

Problem in Customizing Radial Gauge

4 Answers 99 Views
Gauges
This is a migrated thread and some comments may be shown as answers.
Vibhor
Top achievements
Rank 1
Vibhor asked on 01 Sep 2017, 05:41 AM

Hi All,

I want to create a customized radial gauge with animation as shown in attached image as 'DesiredOutput.png'. Can anyone please help me in achieving the same. What I am doing is creating two radial bars with same offset value and then showing the animation. This is working fine but problem with this is that i am unable to show color range with this approach(like green to dark green). Second approach is that i am creating gauge range which gives the proper color range but with no animation and no start and end cap oval. Please tell me the correct approach.

Note :- Attached are three images 'DesiredOutput.png' image is what I want and the other two are what I am able to achieve.

Any help is welcomed. Thanks very much.

 

4 Answers, 1 is accepted

Sort by
0
Accepted
Stefan Nenchev
Telerik team
answered on 05 Sep 2017, 10:44 AM
Hi Vibhor,

I have attached a sample project which I believe achieves the appearance you are looking for. Can you have a look at it and consider the same approach in your actual application?

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
0
Vibhor
Top achievements
Rank 1
answered on 03 Oct 2017, 12:00 PM

Hi Steve,

It works as expected. Thank you.

 

0
Tarek
Top achievements
Rank 1
answered on 28 Mar 2018, 06:36 AM

A lot of thanks Stefan

It work for me also.

But I have one more question

How can I change the Gauge Thickness (not the stroke, please see attached)  

 

Thanks in advance

0
Tarek
Top achievements
Rank 1
answered on 28 Mar 2018, 07:02 AM

Hi Stefan

I already solved it ... Thanks

Here is the solution in case of somebody interested

GaugeBarIndicator: EndThickness,StartThickness

GaugeRangeBarIndicator: ToThickness,FromThickness

<telerikGauges:GaugeBarIndicator
                                    EndThickness="12"
                                    Fill="#D7D7D7"
                                    StartThickness="12"
                                    Value="100" />
                                <telerikGauges:GaugeRangeBarIndicator
                                    x:Name="gaugeMark"
                                    FromCap="Oval"
                                    FromThickness="12"
                                    Stroke="Black"
                                    StrokeThickness="1"
                                    ToCap="Oval"
                                    ToThickness="12"
                                    From="0"
                                    To="{Binding xxxxx}">
Tags
Gauges
Asked by
Vibhor
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Vibhor
Top achievements
Rank 1
Tarek
Top achievements
Rank 1
Share this question
or