SfCircularGauge circularGauge = new SfCircularGauge();
circularGauge.HorizontalOptions = LayoutOptions.CenterAndExpand;
Scale scale = new Scale();
scale.StartValue = 0;
scale.EndValue = 100;
scale.Interval = 10;
scale.StartAngle = 135;
scale.SweepAngle = 270;
scale.RimThickness = 20;
scale.RimColor = Color.FromHex("#FB0101");
scale.MinorTicksPerInterval = 4;
NeedlePointer needlePointer = new NeedlePointer();
needlePointer.Color = Color.White;
needlePointer.KnobColor = Color.White;
needlePointer.Thickness = 5;
needlePointer.KnobRadius = 20;
needlePointer.LengthFactor = 0.8;
SymbolPointer minPointer = new SymbolPointer();
minPointer.Color = Color.Red;
What am I doing wrong?
Thanks for your interest in Syncfusion products.
As of now, SymbolPointer is not available in SfCircularGauge control for Xamarin. Instead other two types (RangePointer and NeedlePointer) of pointers can be added to CircularScale in SfCircularGauge, to know more about it, please refer the below UG link.
SymbolPointer support is available in SfLinearGauge for Xamarin, where SfLinearGauge and SfDigitalGauge also shares the same namespace (“Syncfusion.SfGauge.XForms”) with SfCirularGauge. To know more about our linear gauge control, refer the below UG link.
LinearGauge UG link: http://help.syncfusion.com/xamarin/lineargauge/getting-started#add-a-pointer
Please let us know, if you have any query.