We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SfCircularGauge Start and EndValue Binding does nothing

I try everything and could not make it work
It works perfectly for the ranges but not for the scale
        <sfg:SfCircularGauge Width="250" Height="250" GaugeHeaderPosition="110,130">
            <sfg:SfCircularGauge.GaugeHeader>
                <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                    <TextBlock HorizontalAlignment="Center"> 
                        <Run Text="{Binding MV.RVD}"/> <Run Text="Days"/>
                    </TextBlock>
                </StackPanel>
            </sfg:SfCircularGauge.GaugeHeader>
            <sfg:SfCircularGauge.MainScale>
                <sfg:CircularScale StartAngle="180" SweepAngle="180" RimStroke="Transparent" TickPosition="Cross"
                                   RimStrokeThickness="40" TickLength="40" TickStroke="#333333" SmallTickLength="20" SmallTickStroke="#333333"
                                   StartValue="0" EndValue="{Binding DataContext.MV.RVD, ElementName=grid}
" Interval="5" MinorTicksPerInterval="3">
                    <sfg:CircularScale.Ranges>
                        <sfg:CircularRange StartValue="0" EndValue="{Binding DataContext.MV.NVDA, ElementName=grid}" 
                                                  Stroke="#CCCCCCCC"/>
                        <sfg:CircularRange StartValue="0" EndValue="{Binding DataContext.MV.RVD, ElementName=grid}" 
                                                  Stroke="#CC00FF00"/>
                        </sfg:CircularScale.Ranges>
                </sfg:CircularScale>
            </sfg:SfCircularGauge.MainScale>
        </sfg:SfCircularGauge>


9 Replies

JO Joy Oyiess Rex  K Syncfusion Team August 12, 2013 06:52 AM UTC

Hi David,

 

Thanks for using Syncfusion Products,

 

We are able to reproduce the mentioned issue, We have confirmed that the issue with "EndValue of the CircularGauge not bind properly" is a defect and we have logged a defect report. The fix for this issue is estimated to be available in our upcoming volume release, Essential studio Vol 3, 2013. We can expect the release by the end of this month.

 

Please let us know, if you have any concerns.

 

Regards,

Joy Oyiess Rex K



DR David Rozen August 23, 2013 03:56 PM UTC

Thanks.

I just see that i posted this message in the wrong forum.
This bug concerns the WinRT controls, do you plan to correct this version too ?


DR Dhanasekar R Syncfusion Team August 26, 2013 01:00 PM UTC

Hi David,

     Yes, we have also fixed this issue in SfGauge WinRT control and it will be available in our upcoming volume release, Essential studio Vol 3, 2013.

Please let us know if any clarifications

Regards,

Dhanasekar R




DR David Rozen August 27, 2013 12:41 PM UTC

Hi Dhanasekar and Joy Oyiess Rex,

I just saw that the startvalue of the CircularRange also have issue on binding.

Is it going to be corrected in this version too ?



JO Joy Oyiess Rex  K Syncfusion Team August 28, 2013 10:37 AM UTC

Hi David,

 

The fix will resolve the Binding issue for both the StartValue  and EndValue properties of the CircularScale of SfCircularGauge.

As mentioned earlier this fix will be included in our Essential Studio Volume 3, 2013, You can expect this release in a week.

 

Please let us know, if you have any concerns.

 

Regards,

Joy Oyiess Rex K



DR David Rozen September 25, 2013 02:21 PM UTC

Hi
This issue is not yet resolved in WinRT Controls
Regards,
David


JO Joy Oyiess Rex  K Syncfusion Team September 26, 2013 05:02 AM UTC

Hi David,

 

We are not able to reproduce the mentioned issue from our Essential Studio Volume 3, 2013, release. For that we have prepared a sample for the same, please find the sample in the attachment.

 

In the provided sample we have bind the StartValue and EndValue of CircualarScale and CircualarRange.

 

If the Provided solution doesn’t meet your requirement, please revert us back with more information by modifying the provided sample to reproduce the issue, so that we could assist you better.

 

Please let us know, if you need any further assistance.

 

Regards,

Joy Oyiess Rex K



CircularGaugeValuesBind_Winrt_2852717f.zip


DR David Rozen September 30, 2013 07:09 PM UTC

Thank you very much !
It's working now !

I was missing the mode=twoway attribute for the binding



JO Joy Oyiess Rex  K Syncfusion Team October 1, 2013 03:46 AM UTC

Hi David,

Thanks for your feedback.

Please let us know, if you need any further assistance.

Warm Regards,

Joy Oyiess Rex K


Loader.
Live Chat Icon For mobile
Up arrow icon