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

Custom Gauge Ranges

1 Answer 37 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nirav
Top achievements
Rank 1
Nirav asked on 07 Aug 2014, 09:01 PM
Hello,

I have created a telerik silverlight application with radradialgauge control. I am retrieving the data from the database and binding to the radradialgauge control. I have attached the screenshot of the output. Here, I have given some static values for the gauge range. But what I want to do is, for the particular output range, I want to show color Green and for the rest of the range, I want to show color Red. I think I have to bind the values of Min and Max of the gauge range. But can anyone please provide me an example?

Thanks,
Nirav

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 08 Aug 2014, 01:00 PM
Hello Nirav,

Standard way for binding ranges to the gauge is using the RadialScale.Ranges property for binding it to the GaugeRangeCollection.
I've attached a sample solution.
I hope it helps.

Regards,
Andrey Murzov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
General Discussions
Asked by
Nirav
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or