how to change the size of the back of SFCircularGauge control

https://drive.google.com/open?id=1ps1Nm-Qiody4vFMzPU14TXlRS_UtNstw
Any idea how to change the size of the back of SFCircularGauge control, without change size of the gauge?



3 Replies

MP Michael Prabhu M Syncfusion Team October 9, 2018 10:51 AM UTC

Hi Yuri, 
 
Greetings from Syncfusion.  
 
Query: Need to remove the additional space left around the gauge. 
 
We would like to let you know that gauge will render based on the minimum height/width of the available size. In your case you have used semicircular gauge, but it will take the height/width for the entire gauge (full circular gauge 0 to 360). Hence it is positioned at the top. 
 
We have already considered a feature for positioning the gauge at the center irrespective of their start and end angles. Even if it is a semicircular gauge (your scenario) it will be positioned at the center. 
 
This feature will be available on our upcoming Volume 4 release. 
 
You can see the demo image of that feature. 
 
 
 
 
This will position the gauge at the center leaving the equal additional space on the top and bottom. You can cut down the additional spaces by specifying the required height or width request to the gauge control whichever is needed. This will remove the spaces and holds the gauge alone. 
 
Thanks, 
Michael 




AE Aaron Ennis replied to Michael Prabhu M June 10, 2019 05:36 PM UTC

Hi Yuri, 
 
Greetings from Syncfusion.  
 
Query: Need to remove the additional space left around the gauge. 
 
We would like to let you know that gauge will render based on the minimum height/width of the available size. In your case you have used semicircular gauge, but it will take the height/width for the entire gauge (full circular gauge 0 to 360). Hence it is positioned at the top. 
 
We have already considered a feature for positioning the gauge at the center irrespective of their start and end angles. Even if it is a semicircular gauge (your scenario) it will be positioned at the center. 
 
This feature will be available on our upcoming Volume 4 release. 
 
You can see the demo image of that feature. 
 
 
 
 
This will position the gauge at the center leaving the equal additional space on the top and bottom. You can cut down the additional spaces by specifying the required height or width request to the gauge control whichever is needed. This will remove the spaces and holds the gauge alone. 
 
Thanks, 
Michael 



I am experiencing the same issue in Xamarin.Android.  Has the solution been added and will this address it in Xamarin.Android as well?


BK Bharathiraja K Syncfusion Team June 11, 2019 06:50 AM UTC

Hi Aaron, 
 
Yes, this feature implemented in Xamarin.Android also. You can align the semi-circle gauge by setting IsCenterAligned property of Gauge as true in Xamarin.Android. Please refer the below help document link for Xamarin.Forms.  
 
 
The same property used in Xamarin.Android also.  
 
Regards, 
Bharathi.  


Loader.
Up arrow icon