You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Awesome, thank you so much.
Just put what I did at the end and hope this will help someone else has the same issue.
leftAxis.valueFormatter = DefaultAxisValueFormatter(block: { (value, _) -> String in
//.toString() is a function I coded to convert double to string with decimal places.
return "\(value.toString(AppConstants.decimals))"
})
when it has decimal places and smaller than 1.
I want it to be 0.03 or 0.15 instead of .03, .15
I couldn't find a way to handle it.
The text was updated successfully, but these errors were encountered: