I'm playing with the Multiple Scales example, where one scale is MPH and the other is KPM. How do I "get at" each scale in code? I can reference the "MPH" scale easily enough -- Response.Write(RadialGauge1.MainScale.Max); -- but how do I reference the "KPH" scale?
Multiple scales question
in Web Forms
Posted
Hi there,
I'm playing with the Multiple Scales example, where one scale is MPH and the other is KPM. How do I "get at" each scale in code? I can reference the "MPH" scale easily enough -- Response.Write(RadialGauge1.MainScale.Max); -- but how do I reference the "KPH" scale?
Thanks in advance.
Edit: NM, I figured it out!
RadialGauge1.Scales[0].Max
RadialGauge1.Scales[1].Max