Skip to content

桑基图option.color设置为数组,数组中颜色为空字符串时,报错 #16574

@yaodd123

Description

@yaodd123

Version

5.3.0

Link to Minimal Reproduction

No response

Steps to Reproduce

option = {
series: [
type: 'sankey',
......
],
color: ['red', '']
}

Current Behavior

颜色中带有空字符串时报错,目前只发现桑基图报错,饼图、散点图等其他图表不报错。

Expected Behavior

不报错

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdifficulty: easyIssues that can be fixed more easily than the average.resolved

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions