Skip to content

dataZoom data shadow is rendered incorrectly if points are not evenly spaced on time axis #15921

@Rogach

Description

@Rogach

Version

5.2.1

Reproduction link

https://codepen.io/Rogach/pen/XWaNXpN

Steps to reproduce

Open the pen from the link, wait for it to load, compare the chart shape in the chart area with data shadow in the dataZoom component.

What is expected?

The dataZoom rendering looks similar to the chart values.

What is actually happening?

The data shadow in dataZoom is rendered as if all points are at the same distance from each other, and so the area is distorted.

Here's an image from the reproduction link for your convenience:

echart-datazoom-issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishstaleInactive for a long time. Will be closed in 7 days.topic: axis-time

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions