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.
Unfortunately, activation email could not send to your email. Please try again.

SfCircularGauge Start and EndValue Binding does nothing

Thread ID:

Created:

Updated:

Platform:

Replies:

110533 Aug 9,2013 09:53 AM Sep 30,2013 11:46 PM WPF 9
loading
Tags: Gauge
David Rozen
Asked On August 9, 2013 09:53 AM

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>


Joy Oyiess Rex  K [Syncfusion]
Replied On August 12, 2013 02:52 AM

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


David Rozen
Replied On August 23, 2013 11:56 AM

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 ?

Dhanasekar R [Syncfusion]
Replied On August 26, 2013 09:00 AM

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



David Rozen
Replied On August 27, 2013 08:41 AM

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 ?


Joy Oyiess Rex  K [Syncfusion]
Replied On August 28, 2013 06:37 AM

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


David Rozen
Replied On September 25, 2013 10:21 AM

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

Joy Oyiess Rex  K [Syncfusion]
Replied On September 26, 2013 01:02 AM

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

David Rozen
Replied On September 30, 2013 03:09 PM

Thank you very much !
It's working now !

I was missing the mode=twoway attribute for the binding


Joy Oyiess Rex  K [Syncfusion]
Replied On September 30, 2013 11:46 PM

Hi David,

Thanks for your feedback.

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

Warm Regards,

Joy Oyiess Rex K


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;