Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
35
Change Max Value and Tick Interval
posted

Hi,

Looking at a linear gauge, and can't find any examples on how to change the Maximum Value of the Scale, or the Tick Interval. These are easily available under the Scale using the Designer, but how can I do this at runtime.

Currently I've been using similar code to when I set the value of a marker e.g.

'Note: GaugeCashSurplus is the name of the Gauge object on my page

Dim

 

 

GaugeCS As Infragistics.UltraGauge.Resources.LinearGauge
GaugeCS = GaugeCashSurplus.Gauges(0)
GaugeCS.Scales(0).Markers(0).Value = 555 'Whatever number the marker needs to be at

I cannot find the variables I need under

GaugeCS.Scales(0).????

Any advice would be appreciated.

Thanks,

- Will

 

 

 

Parents
No Data
Reply Children
No Data