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
close icon

How to make SfDigitalGauge responsive`

Hello,

I have 4 digitagauges in my page inside a grid with fixed character width and i'm trying to make them responsive. Currently i'm doing some custom scaling on character width based on view width / view density and works but it's not very consistent.

My question is how can i make the digitalgauges cover screen width on all device monitors. I've tried pretty much everything by now.
Also how can align the the gauges to bee in the center of a grid row for instance? It seems like i have to know the exact width of the digitalgauge content which almost always expands the characters it contains.

The binding provides the following value for the gauge: "00 00 00'00''00"

https://pastebin.com/q6d0fpcb

My layout (smh i can't paste xaml here

3 Replies

VR Vignesh Ramesh Syncfusion Team July 11, 2019 05:14 PM UTC

Hi Apostolos, 

Greetings from Syncfusion Support. 

We are preparing sample to achieve your requirement. Due to complexity we need timeline and will update you the status on 12th July 2019. We appreciate your patience until then. 

Regards, 
Vignesh R 



AP Apostolos July 11, 2019 08:43 PM UTC

Greetings,
Thank you for taking the time to look into this


VR Vignesh Ramesh Syncfusion Team July 15, 2019 02:42 PM UTC

Hi Apostolos, 

Thanks for your patience. We would like to inform that, in our current implementation the SfDigitalGauge’s Value is rendered from the starting position of the control and its width is depends on CharacterWidth, CharacterSpacing properties, not based on control width. So, we are not able to accurately achieve your requirement in sample level and considered this as feature request and please find the feedback task below here. 


Please cast your vote to make it count. We will prioritize the features every release based on the demands and we do not have immediate plan to implement this feature since we committed with already planned work. So, this feature will be available any of our upcoming release. 

If you have any more specification/suggestions to the feature request, you can add it as a comment in the portal. 


Regards, 
Vignesh R 


Loader.
Live Chat Icon For mobile
Up arrow icon