Skip to content

[Bug] dataZoom current data shadow line does not match with series line #19930

@stpeyyee

Description

@stpeyyee

Version

^5.1.1

Link to Minimal Reproduction

Steps to Reproduce

Example options

options = {
  xAxis: [
    {
      type: "time",
    }
  ],
  yAxis: [
    {
      type: "value",
    }
  ],
  dataset: [
    {
      dimension: [
        { name: 'timestamp', type: 'time' },
        { name: 'value', type: 'float' }
      ],
      id: '01',
      source: [
        { value: 854.548, timestamp: Mon Nov 13 2023 22: 40:00 GMT +0700(Indochina Time) },
        { value: 845.63, timestamp: Mon Nov 13 2023 22: 45:00 GMT +0700(Indochina Time) },
        ....
      ]
    }
  ],
  dataZoom: [
    {
      type: "slider",
      xAxisIndex: [0],
      startValue: lhs,
      endValue: rhs,
      filterMode: "none",
      moveHandleSize: 12
    }
  ]
}

Current Behavior

image

Expected Behavior

image
image

Environment

- OS: Windows
- Browser: Google chrome
- Framework: React.js

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions