Skip to content

LineChart with Datazoom: Data is displayed incorrectly #14227

@jenswet

Description

@jenswet

Version

5.0.1

Reproduction link

https://echarts.apache.org/examples/en/editor.html?c=line-aqi

Steps to reproduce

Add the following datazoom option to the example:

{
      show: true,
      type: 'slider',
      orient: 'vertical'
}

Move the lower limit of the y axis range in the datazoom slider to something around 100.

What is expected?

The data should still be displayed correctly. That is, the lines should partially disappear from view, but the qualitative data history must be maintained.
line-aqi-2

What is actually happening?

The qualitative history of the data is not maintained. Instead the last point before the data is leaving the displayed range and the first point after entering the displayed range again are connected by a line in the visible chart excerpt. That changes the qualitative data history completely.

line-aqi

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions