Skip to content
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

如何更改右侧Y轴数据的小数位 #56

Open
SuperFlyKobe opened this issue Jun 19, 2020 · 1 comment
Open

如何更改右侧Y轴数据的小数位 #56

SuperFlyKobe opened this issue Jun 19, 2020 · 1 comment

Comments

@SuperFlyKobe
Copy link

右侧Y轴的值,现在是保留两位。列子:实际数据是(1.0111,1.012,1.0155),现在保留两位显示(1.01,1.0.1,1.01),这个是在哪里设置的。

@SuperFlyKobe
Copy link
Author

将BaseKLineChartView中drawText方法,mMainDraw:canvas.drawText(formatValue),将formatValue修改成自己的即可(保留多少位小数)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant