Skip to content

[Bug] Parallel axis persisted selection ignores configured areaSelectedStyle #21583

@sgb-io

Description

@sgb-io

Version

5.6.0

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=parallel-nutrients

Steps to Reproduce

Using the nutrients parallel chart example, apply some brushes to 1 or 2 of the axes. You'll notice that there is a translucent style, but some time later, this gets replaced by a default light blue style. This also overrides any user-provided areaSelectStyle values.

Current Behavior

The user-provided areaSelectStyle is NOT respected

Expected Behavior

The user-provided areaSelectStyle is respected

Environment

- OS: (any)
- Browser: (any)
- Framework: React

Any additional comments?

Suspected solution: when rebuilding persisted parallel-axis covers, preserve and pass the active brushStyle (derived from areaSelectStyle), or have updateCovers inherit controller brushStyle when coverConfig does not specify one, instead of always defaulting to DEFAULT_BRUSH_OPT.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.

    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