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.LinearGaugeGaugeCS = 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
'Note: GaugeCashSurplus is the name of the Gauge object on my page
Dim
GaugeCS As Infragistics.UltraGauge.Resources.LinearGaugeGaugeCS = 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
Hi willk,
If you need any further assistance on the matter please do not hesitate to ask.