Skip to content

[Bug] 类型为 custom 的series,在放大后,切换custom图例 报错 #20917

@marvinking

Description

@marvinking

Version

5.3.0

Link to Minimal Reproduction

复现demo

Steps to Reproduce

1.关闭 type 为 custom 的图例,
2.通过toolbox.dataZoom,进行范围选取
3.打开 custom 的图例

Current Behavior

.

Expected Behavior

console 有报错,显示TypeError: Cannot read properties of null (reading 'remove')

Image

Image

Environment

- OS:macOS
- Browser:chrome 128.0.6613.138
- Framework:react

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    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