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

Data binding with SfCircularGauge

Would anyone know if its possible to bind data to a SfGauge? If so how according to the needle pointer value,

NeedlePointer needlePointer = new NeedlePointer();
            needlePointer.Value = 60;
            needlePointer.Color = Color.Gray;
            needlePointer.KnobColor = Color.FromHex("#2bbfb8");
            needlePointer.Thickness = 5;
            needlePointer.KnobRadius = 20;
            needlePointer.LengthFactor = 0.8;
            scale.Pointers.Add(needlePointer);

1 Reply

NS Nitish Subramania Reddiar Syncfusion Team October 2, 2017 10:30 AM UTC

Hi Carlo,

Yes, it is possible to bind data to SfGauge. We have prepared a simple sample which demonstrates the binding in SfCircularGauge according to the needle pointer value. Please find the sample from the below link:

https://www.syncfusion.com/downloads/support/directtrac/general/ze/CircularGauge_Binding-368340692

Please let us know in case of any concerns.

Regards,
Nitish S 


Loader.
Up arrow icon