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

增加一个配置项,可以在item为null时,不截断线图 #396

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

tomli
Copy link

@tomli tomli commented Nov 5, 2019

增加一个配置项 opts.breakOnNull, 此选项仅对line图和area图有效:

假设成交量2在2016年5月没有数据

设为true -> 遇到item为null时,线中断(与原来一致)
breakOnNull_true

设为false -> 遇到item为null时, 线不中断,直接与下一个item相连
breakOnNull_false

此选项仅对line图和area图有效。 设为true时,遇到item为null时,线中断(与原来一致)
设为false时, 遇到item为null时, 线不中断,直接与下一个item相连
此选项仅对line图和area图有效。 设为true时,遇到item为null时,线中断(与原来一致)
设为false时, 遇到item为null时, 线不中断,直接与下一个item相连
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

Successfully merging this pull request may close these issues.

1 participant