Custom Gauge Ranges

2 posts, 0 answers
  1. Nirav
    Nirav avatar
    16 posts
    Member since:
    Jul 2014

    Posted 07 Aug 2014 Link to this post


    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?

  2. Andrey
    Andrey avatar
    1681 posts

    Posted 08 Aug 2014 Link to this post

    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.

    Andrey Murzov
    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.
Back to Top