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

Problem binding EndValue of Scale in iOS


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;

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;

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.

1 Reply

AK Ashwin Kumaravel Syncfusion Team 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/  

Ashwin k 

Live Chat Icon For mobile
Up arrow icon