Hello - I'm just getting started with Infragistics controls for SilverLight. I've created a XamWebLinearGauge
in code behind. The default orientation for the linear appearance is left to right (horizontal). I'd like it to be vertical
with the starting values at the bottom and ending values at the top. Can this be done? What properties have to be set?
Thanks in advance
XamWebLinearGauge TempGauge = new XamWebLinearGauge();
Excellent - I didn't realize you change the orientation on the Scale attribute. I was attempting to set the orientation to the higher level object/container, not the scale.
Thank you
just set Orientation = Vertical on the first scale in the gauge.
<igGauge:XamWebLinearGauge> <igGauge:XamWebLinearGauge.Scales> <igGauge:LinearGaugeScale Orientation="Vertical" /> </igGauge:XamWebLinearGauge.Scales> </igGauge:XamWebLinearGauge>
or
TempGauge.Scales.Add(new LinearGaugeScale() { Orientation = Vertical });