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

line y轴要怎么保留小数呢 #98

Open
sunyumiao opened this issue May 29, 2019 · 1 comment
Open

line y轴要怎么保留小数呢 #98

sunyumiao opened this issue May 29, 2019 · 1 comment

Comments

@sunyumiao
Copy link

你好, 我用axisLabel.formatter = @"{function(value){return value.toFixed(2);}";来保留小数,但是不不可以,y轴的坐标原样输出了function(value){return value.toFixed(2);这个字符串

@XW-LIB
Copy link

XW-LIB commented Oct 12, 2021

(function (value) {return value.toFixed(2);})

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