echarts [Bug] Step graph and "connectNulls = false" connects where it should not

bq3bfh9z  于 4个月前  发布在  Echarts
关注(0)|答案(1)|浏览(38)

Version

5.5.1

https://echarts.apache.org/examples/en/editor.html?c=line-step&version=5.5.1

Steps to Reproduce

Use above example and add null values in the middle of the dataset.

Current Behavior

Lines are painted that are not allowed to be painted. I have marked these in red here:

Expected Behavior

Marked area should not be there.

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

kpbwa7wx

kpbwa7wx1#

it's all normal, because step option is different for each line. Set all lines to same step and the gaps will look the same.
📌 please close issue if problem solved.

相关问题