Skip to content

Commit 80dcabd

Browse files
author
Vignesh Ramesh
authored
Merge pull request #3 from VishalOmprasad/main
XAMARIN-44147: Needle not displayed issue is resolved
2 parents ed735f7 + 5862bd1 commit 80dcabd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MainPage.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ protected override List<GaugeLabelInfo> GenerateVisibleLabels()
1818
List<GaugeLabelInfo> customLabels = new List<GaugeLabelInfo>();
1919

2020
var _minimum = (int)logBase(this.Minimum, 10);
21-
var _maximum = (int)logBase(this.Minimum, 10);
21+
var _maximum = (int)logBase(this.Maximum, 10);
2222
for (var i = _minimum; i <= _maximum; i++)
2323
{
2424
int value = (int)Math.Floor(Math.Pow(10, i));// logBase value is 10

0 commit comments

Comments
 (0)