We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Changing range on existing radial gauge using code (vb)

Hi,

Is it possible to change the ranges on a radial gauge based on a text box value  using vb.net?

1 Reply

AJ Ashwini Jaya Preetha Durai Samy Syncfusion Team February 9, 2015 12:24 PM UTC

Hi Rory,

 

Thank you for using Syncfusion products,

 

Yes, it is possible to customize the Ranges in RadialGauge by using the “StartValue” and “EndValue” property. Please make use of below code snippet for your reference.

Code snippet[VB]:

 

'Assigning the Starting value of the Range in RadialGauge

            If Me.integerTextBox1.IntegerValue > Me.radialGauge1.MinimumValue Then

                Me.radialGauge1.Ranges(0).StartValue = integerTextBox1.IntegerValue

'Assigning the Ending value of the Range in RadialGauge

            If Me.integerTextBox2.IntegerValue < Me.radialGauge1.MaximumValue Then

                Me.radialGauge1.Ranges(0).EndValue = integerTextBox2.IntegerValue

 

 

Sample link: http://www.syncfusion.com/downloads/support/directtrac/118172/RadialGaugeSample-788097760.zip

 

Please look into the sample and kindly let us know if it meets your requirement.

 

Please let us know if you need further assistance,

Regards,

Ashwini


Loader.
Live Chat Icon For mobile
Up arrow icon