ProgressNS / nativescript-ui-feedback

This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115 stars 21 forks source link

Precision parameter for gauge labels #1116

Open ylabonte opened 5 years ago

ylabonte commented 5 years ago

Hello,

I am using NativeScript with Angular and want to realize a pH meter for a pool. So the relevant scale is something between 6.8 and 8.2. The problem is that all labels are displayed as integers. Setting the labels count to 0 or null causes the gauge to label every mayor tick. This behavior holds for both, android and iOS. Setting the labels count to 1 renders 1 label at the starting point on iOS and none for android.

I've seen examples in the docs where android renders decimals. But the corresponding iOS version only shows the rounded integers.

Is there a possibility to specify the precision (decimal digits) of the labels that I have overlooked or if not, could you imagine to add such? An alternative even more powerful idea could be passing an array of string labels... No matter what, do you see any appropriate solution for my use case (a scale where decimal precision matters)? I am grateful for any advice.

Please provide the following version numbers that your issue occurs with:

tsonevn commented 5 years ago

Hi @ylabonte, Currently, there is a mismatch between the labels rendering on both platforms(iOS and Android). On that matter, we will log this as a bug and we will investigate it further. At this time, there is no workaround, that can be used. I would suggest keeping track of the issue for further info.

mcgouganp commented 1 month ago

5 years later and this still seems to be broken. Is there any plan to resolve this?