-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When i set valueformatter , Have problem. #163
Comments
this is because your yAxis label has decimals. You need to check if you set maximumFractionDigits to 0. non-zero means it can have decimals if possible |
iI try to set , But have problem same that picture. TT |
Can you just walk through the API and definitions by yourself first? Your set the maximumFractionDigits to 0, do you know the meaning of maximumFractionDigits?
|
You can also open a stackoverflow issue if you want help with iOS APIs |
lineChart.leftAxis.valueFormatter = NSNumberFormatter()
lineChart.leftAxis.valueFormatter?.numberStyle = NSNumberFormatterStyle.NoStyle
When i set valueformatter to normal number , It works but number display same This picture, Please Help me thank you.
![screen shot 2558-06-19 at 10 26 13 am](https://cloud.githubusercontent.com/assets/11417557/8246753/e69c9f22-166d-11e5-9d20-c2d98774f908.png)
The text was updated successfully, but these errors were encountered: