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.

Gauge can not see

Thread ID:

Created:

Updated:

Platform:

Replies:

126367 Oct 11,2016 06:04 AM Apr 4,2017 04:28 AM Xamarin.Forms 3
loading
Tags: SfCircularGauge
gecew
Asked On October 11, 2016 06:04 AM

i'm add  Syncfusion.SfGauge.XForms to reference
but i cannot see gauge
code:
SfCircularGauge circularGauge = new SfCircularGauge();
            InitializeComponent();
            if (Device.OS == TargetPlatform.iOS)
            {
              circularGauge.HeightRequest = 200;
            }
            else
            {
                circularGauge.VerticalOptions = LayoutOptions.FillAndExpand;
            }

            ObservableCollection<Scale> Scales = new ObservableCollection<Scale>();
            Scale scale = new Scale();
            scale.StartValue = 0;
            scale.EndValue = 100;
            scale.StartAngle = 180;
            scale.SweepAngle = 180;
            scale.RimThickness = 40;
            scale.RimColor = Color.FromRgb(86, 86, 86);
            NeedlePointer pointer = new NeedlePointer();
            pointer.Value = 70;
            pointer.Thickness = 5;
            pointer.KnobRadius = 20;
            pointer.LengthFactor = Device.OnPlatform(1, 1, 1);
            pointer.Color = Color.FromRgb(226, 226, 226);
            pointer.KnobColor = Color.FromHex("#FFE2E2E2");
            RangePointer rPointer = new RangePointer();
            rPointer.Value = 70;
            rPointer.Color = Color.FromHex("#FF00B2DB");
            rPointer.Thickness = 40;
            List<Pointer> pointers = new List<Pointer>();
            pointers.Add(pointer);
            pointers.Add(rPointer);
            scale.Pointers = pointers;
            scale.ShowTicks = false;
            scale.ShowLabels = false;
            Scales.Add(scale);
            circularGauge.Scales = Scales;
            circularGauge.GaugeType = GaugeType.North;
            Content = circularGauge;
        }


Sivakumar Punniya Moorthi [Syncfusion]
Replied On October 12, 2016 02:09 AM

Hi Orhan,

Thanks for your interest in Syncfusion products.

As per the provided information we are unable to reproduce the issue . We have prepared sample for the same and it can be downloaded from the below link.

Sample Link : CircularGaugeSample 

If the provided Sample does not meet your requirement, could you please modify the provided sample and its replication procedure . It will be very helpful for us to analyse on it and provide you the possible solution.

Please let us know if you have any queries.

Regards,
Sivakumar P.
 


Jairo Martins Marques
Replied On April 3, 2017 01:33 PM

I used this sample code CircularGaugeSample  in my Xamarin Studio for Mac and it works properly but after I upgrade Xamarin Forms package to version 2.3.3.193 it doesn't work any more. App doesn't load and without any warning or error.-----------------------------ps. After delete both bin and obj folder from pcl and iOS projects everything works properly again.

Ashwin Kumaravel [Syncfusion]
Replied On April 4, 2017 04:28 AM

Hi Orhan,

We are glad to know that you have met your requirement. Please let us know if you have any queries.

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.

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.

;