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

bug?fix? line 提供的data为null时希望像echarts为断线 而不是0 #14

Closed
chenjiev1 opened this issue Jul 3, 2017 · 3 comments
Closed
Labels

Comments

@chenjiev1
Copy link

bug?fix? line 提供的data为null时希望像echarts为断线 而不是0

@chenjiev1
Copy link
Author

snip20170703_1

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

xiguaxigua commented Jul 3, 2017

@chenjiev1 在 v1.2.5 中修复了这个问题

之前之所以会做补0的逻辑是因为有些情况下,后端在表中取数据时取不到,根本原因是某一天对应的某一项没有这个数据,此时由后端去做补0会显得略有冗余,所以将补0的操作放到了表格组件中。现在,默认是不做这一步操作,如果有需要的话,可以配置折线图配置项中的 nullAddZero 为 true 实现。
对比图:
image
image

@chenjiev1
Copy link
Author

3Q

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

No branches or pull requests

2 participants