Skip to content

[Bug] In Line series chart, the series is not removed when using the legend for filter After applying the datazoom #18688

@Suraj-Singhvi

Description

@Suraj-Singhvi

Version

5.4.2

Link to Minimal Reproduction

https://codepen.io/Suraj-Singhvi/pen/BaqgKRw

Steps to Reproduce

  1. Load the given chart options
  2. Use the data zoom slider to zoom into specific date/month
  3. Drag the slider from one direction to the other side.
    ex. start.....end should now be end....start
  4. filter both the series using the legends (you would see the last series filtered would still exist)
  5. and now on enabling them again, we now have an unwanted series line in our charts

Current Behavior

Initial state on using the datazoom slider
image

Now use the end of the slider and move it across the start of the slider
image

On filtering the series with the legend, the last series filtered is still visible
image

And now on toggling it back, the unknown series line exists in the chart
image

(Also, sometimes the line series keeps drawing lines on zooming via the slider but I don't have the exact steps as this is a bit random.)
image

Expected Behavior

I would expect the legend to filter out all the series, does not matter how the data zoom slider is used

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.

    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