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

我想用charts显示的数据为'int'类型 #936

Closed
shenyufei opened this issue Apr 11, 2016 · 4 comments
Closed

我想用charts显示的数据为'int'类型 #936

shenyufei opened this issue Apr 11, 2016 · 4 comments

Comments

@shenyufei
Copy link

我有一个需求,需要显示整数数据(Values),不要小数点(Double),我要怎么设置? @liuxuan30

@liuxuan30
Copy link
Member

you only have to change the value formatter in y axis or data set. Make maximumFractionDigits to 0.
BTW, I encourage you write English, it will only have benefits.
I can't watch github all day, and many people can help you.

@danielgindi
Copy link
Collaborator

He sent me an email privately, but he cannot communicate much in English, so I told him to come here and ask someone who knows Chinese :-)

@liuxuan30
Copy link
Member

I got one too. Let me reply that in email.

@shenyufei
Copy link
Author

thank you

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

3 participants