This is Madhan and I am building sample Windows 8 Store Application using Xaml and C#.I would like to change Gauge the control parameters dynamically through the code behind file.
for example I would like to change the BarIndicatorSegment Length value dynamically through the code behind file how can I apply these changes. Please help me.
I tried like this rdscrngMtd1Revenue.Length=70 and also ndlBusiness.Value=80 but it is not working.
<telerikDataViz:RadRadialGauge x:Name="rdscMTDRevenue" Width="140" Height="200" MinValue="0" MaxValue="100" LabelStep="10" Margin="0 40 0 0" TickStep="10" telerikDataViz:RadRadialGauge.MinAngle="-30" telerikDataViz:RadRadialGauge.MaxAngle="210" LabelRadiusScale="1.10">
<telerikDataViz:SegmentedRadialGaugeIndicator x:Name="rdscMTDRevenueTemp" StartValue="0" Value="100">
<telerikDataViz:BarIndicatorSegment Thickness="2" x:Name="rdscrngMtd1Revenue" Stroke="Red" Length="40"/>
<telerikDataViz:BarIndicatorSegment Thickness="2" x:Name="rdscrngMtd2Revenue" Stroke="Yellow" Length="30"/>
<telerikDataViz:BarIndicatorSegment Thickness="2" x:Name="rdscrngMtd3Revenue" Stroke="Green" Length="20"/>
</telerikDataViz:SegmentedRadialGaugeIndicator>
<telerikDataViz:ArrowGaugeIndicator x:Name="ndlBusiness" IsAnimated="True" Value="50" Brush="Gray" Thickness="3" telerikDataViz:RadRadialGauge.IndicatorRadiusScale="0.83"/>
</telerikDataViz:RadRadialGauge>
Please help me. Thanks in advance.