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

[前端] 小数位数太多,bar 太宽 #42

Open
atommann opened this issue Oct 1, 2017 · 1 comment
Open

[前端] 小数位数太多,bar 太宽 #42

atommann opened this issue Oct 1, 2017 · 1 comment

Comments

@atommann
Copy link
Member

atommann commented Oct 1, 2017

Project Duo Dashboard
比如光标指到 9月 30 日的 bar 上,显示 0.42999999....
还有 bar 在 Firefox/Chrome 中显示得很宽。

@terryoy
Copy link
Contributor

terryoy commented Oct 9, 2017

bar太宽的问题可以通过增加日期来解决,我之前写的算法是从第一个有数据的日期开始算,其实应该默认就显示30天记录(or14天?)才对,这个我可以改。

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

2 participants