Skip to content

[Bug] DataZoom: Slider is not showing what really is in linechart #21018

@NoahFriehs

Description

@NoahFriehs

Version

5.6.0

Link to Minimal Reproduction

https://codesandbox.io/p/sandbox/elated-haibt-6l9rcx

Steps to Reproduce

Just check the differences between line in the chart (which never reaches the left) and in the DataZoom slider where the line always starts at the most left point.
The xAxis min is set to 40 seconds away from max.

Current Behavior

Image

Expected Behavior

DataZoom Slider should display what is in the chart not from the beginning of the series.

Environment

- OS: Windows 10/11
- Browser: Edge
- Framework: echarts: 5.6.0

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.

    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