Open ylabonte opened 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.
5 years later and this still seems to be broken. Is there any plan to resolve this?
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
and8.2
. The problem is that all labels are displayed as integers. Setting the labels count to0
ornull
causes the gauge to label every mayor tick. This behavior holds for both, android and iOS. Setting the labels count to1
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: