angular-gauge icon indicating copy to clipboard operation
angular-gauge copied to clipboard

Thresholds with decimal values

Open nguyenhoangnamkg opened this issue 6 years ago • 1 comments

Your library is very nice. Thank you for supporting the community. I have an issue is that when I change the threshold value to decimal, it does not work as expected.

vm.thresholds = { '0': {color: 'green'}, '8': {color: "orange"}, '20.05': {color: 'yellow'}, '30.05': {color: 'coral'}, '80': {color: 'red'} }

nguyenhoangnamkg avatar May 10 '19 03:05 nguyenhoangnamkg

I have the same issue however I noticed it only works for decimals that are half values like: 90.5, 56.5 nor does it change when over 100

rolfst avatar May 22 '19 11:05 rolfst