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.
Syncfusion Feedback

Problem binding EndValue of Scale in iOS

Thread ID:

Created:

Updated:

Platform:

Replies:

129058 Feb 23,2017 04:41 PM UTC Feb 24,2017 12:08 PM UTC Xamarin.Forms 1
loading
Tags: SfCircularGauge
Dario Lipari
Asked On February 23, 2017 04:41 PM UTC

Hi,

i have a problem with make a change of the property EndValue of the scale.

I have  this code:

 Binding needlePointerBindingValue = new Binding("Value");
 Binding rangePointerBindingValue = new Binding("Value");

NeedlePointer needlePointer = new NeedlePointer();
needlePointer.Type = PointerType.Triangle;
needlePointer.SetBinding(NeedlePointer.ValueProperty, needlePointerBindingValue);
needlePointer.Color = Color.Black;
needlePointer.KnobColor = Color.Black;
needlePointer.Thickness = 3;
needlePointer.KnobRadius = 6;
needlePointer.LengthFactor = 0.8;
needlePointer.EnableAnimation = true;
scaleWithValue.Pointers.Add(needlePointer);

RangePointer rangePointer = new RangePointer();
rangePointer.SetBinding(RangePointer.ValueProperty, rangePointerBindingValue);
rangePointer.Color = Color.FromRgb(control.ColorRange.r, control.ColorRange.g, control.ColorRange.b);
rangePointer.Thickness = Device.OnPlatform(iOS: 8, Android: 3.2, WinPhone: 3.2);
rangePointer.Offset = Device.OnPlatform(iOS: 0.07f, Android: 0, WinPhone: 0);
rangePointer.EnableAnimation = true;
scaleWithValue.Pointers.Add(rangePointer);

and then when EndValue change set a property of my viewModel (gaugeVM) i would that that the scale change.

this.gaugeVM.EndValue = maxValueScale;


I test this feature in Android and this work correctly.

In iOS the gauge not render correctly the change of scale and also the current value of the needle pointer and rangepointer is not correctly update.


Ashwin Kumaravel [Syncfusion]
Replied On February 24, 2017 12:08 PM UTC

Hi Dario,

Thank you for contacting Syncfusion support.

Query: Problem binding EndValue of Scale in iOS.

We were able to reproduce the reported issue " Problem binding EndValue of Scale in iOS" at our end. And we have logged a defect report regarding the same. A support incident to track the status of this defect has been created under your account.

Please log on to our support website to check for further updates.

Link: https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents/  

Regards, 
Ashwin 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.

Warning Icon 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.Close Icon

;