Fix suffix on y-axis for Millions

pull/259/head
Simon Roberts 3 years ago
parent b921c091d6
commit da3c4235fb
No known key found for this signature in database
GPG Key ID: 0F30F99E6B771FD4

@ -205,7 +205,7 @@ func shortenFloatVal(x float64) string {
return fmt.Sprintf("%.4fB", x/1e9)
}
if x > 1e6 {
return fmt.Sprintf("%.4fB", x/1e6)
return fmt.Sprintf("%.4fM", x/1e6)
}
return fmt.Sprintf("%.4f", x)
}

Loading…
Cancel
Save