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

How to set the value

3 Answers 152 Views
Gauges (RadialGauge, LinearGauge, BulletGraph)
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 2
Bronze
Iron
Iron
Ian asked on 22 Jan 2019, 04:17 PM

This has to be the stupidest question I have ever asked...

..but how to set the value of a RadRadialGauge?

It works OK for me on most of the RadRadialGauge styles available, but on this one, I can't set the value.

( don't know how to describe the option, so I included a screen shot.)

I'm just using the same code as with the other options:

  Private Sub redrawGauge()
...
        With RadRadialGauge1

         .RangeStart = 0
        .RangeEnd = 3
         .Value = 1
        End With

    End Sub

What could possibly go wrong?

I can even query he .value property, and it reads-back correctly. What it doesn't do is show visually. It just stays at the maximum value.

What am I doing wrong please?

 

 

 

3 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 23 Jan 2019, 12:40 PM
Hello, Ian,      

According to the provided information, I suppose that the BindValue property of RadialGaugeNeedle is not enabled. It actually indicates whether the needle's value is bound to the gauge's Value. Feel free to set this property to true.

Off topic, note that most of the forum threads are reviewed by Telerik representatives and sometimes we address the questions asked by our customers in the forums as well. However, a post in the forum doesn't guarantee you a response from the Telerik support team. Moreover, threads are handled according to license and time of posting, so if it is an urgent problem, we suggest you use a support ticket, which would be handled before a forum thread.

I hope this information helps. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Ian
Top achievements
Rank 2
Bronze
Iron
Iron
answered on 25 Jan 2019, 12:04 PM

Ah - perfect!

Suggestion: perhaps making the default of this to be 'true' might be friendly - the purpose of most Gauges is to show the value!

 

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 28 Jan 2019, 01:18 PM
Hello, Ian,      

Your feedback is greatly appreciated. Note that we have several predefined gauges in the gauges gallery. The information is stored in an XML file. The BindValue property of the needle is set to true in some of the XML files considering the gauge's design.

If other customers have similar requests, we will consider it in the future improvement of the control.

I hope this information helps. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Gauges (RadialGauge, LinearGauge, BulletGraph)
Asked by
Ian
Top achievements
Rank 2
Bronze
Iron
Iron
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Ian
Top achievements
Rank 2
Bronze
Iron
Iron
Share this question
or