镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

[Bug] dataZoom misplaced when series has only one data point #21195

Closed

Description

@alesmit

Version

6.0.0

Steps to Reproduce

  1. See bug in editor
  2. Uncomment or comment the marked data point to toggle between the buggy and correct positioning of dataZoom

Current Behavior

Since version 6.0.0, when a series has only one data point, the dataZoom control is not positioned below the graph as expected — instead, it renders in an incorrect location.

With one data point

Image

With more data points

Image

Expected Behavior

The dataZoom control should be positioned consistently below the graph, regardless of the number of data points.

Activity

  1. added a commit that references this issue on Aug 11, 2025
    6ed607c
  2. alesmit commented on Aug 14, 2025

    @alesmit
    ContributorAuthor

    As a temporary fix, set showDataShadow to false in the dataZoom object. With only one data point, the absence of the data shadow shouldn't be a problem.

  3. added
    regressionSomething no longer works as expected since a certain version
    on Aug 23, 2025
  4. added a commit that references this issue on Aug 30, 2025
    afe0bc3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishregressionSomething no longer works as expected since a certain versiontopic: dataZoom

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions