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

It has multiline same value in the y-axis when the maximum number is 0%, and the minimum number is -0.01% #23

Closed
amyhuangxbd opened this issue Jul 17, 2017 · 5 comments

Comments

@amyhuangxbd
Copy link

Result is:
tmp01929668
the value is :
"Incomelist": [ {"yield":"0","creattime":"2017-07-05"}, {"yield":"0","creattime":"2017-07-07"}, {"yield":"0","creattime":"2017-07-10"}, {"yield":"0","creattime":"2017-07-11"}, {"yield":"-0.01","creattime":"2017-07-12"}, {"yield":"-0.01","creattime":"2017-07-13"}, {"yield":"-0.01","creattime":"2017-07-14"}]

I think it's a bug that may need to be fixed.

@xiguaxigua xiguaxigua added the bug label Jul 17, 2017
@xiguaxigua
Copy link
Contributor

@amyhuangxbd
Can you show me more info about it? I code a demo and just can't reproduce this bug.
https://jsfiddle.net/vue_echarts/aa7ojxyt/18/

@amyhuangxbd
Copy link
Author

sorry, I provided wrong data,
the data is :
[ { 'yield': '0', 'creattime': '2017-07-05' }, { 'yield': '0', 'creattime': '2017-07-07' }, { 'yield': '0', 'creattime': '2017-07-10' }, { 'yield': '0', 'creattime': '2017-07-11' }, { 'yield': '-0.0001', 'creattime': '2017-07-12' }, { 'yield': '-0.0001', 'creattime': '2017-07-13' }, { 'yield': '-0.0001', 'creattime': '2017-07-14' }, { 'yield': '-0.0001', 'creattime': '2017-07-17' } ]

@amyhuangxbd
Copy link
Author

@xiguaxigua
Copy link
Contributor

@amyhuangxbd OK, I can confirm it and the new version will be published soon.

@xiguaxigua
Copy link
Contributor

@amyhuangxbd
In v1.3.2, you can add prop digit to limit the effective number. This number depends on your decimal places.

https://jsfiddle.net/vue_echarts/od0utz9o/2/

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

No branches or pull requests

2 participants