Skip to content

[Bug] Line chart drops partially visible lines entirely #21564

@YaTaUser

Description

@YaTaUser

Version

6.0.0

Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=bVA9D4IwFNz9FW9jcfD5gVrj4Ohs4iBhaKQxTbQlggZi-O9eC6hVSY6Ue9zr3dm81NbQmh4DompT6UL4I1FZ50pQdJSlOtlrHQ09m8lSCkpoNCRiYAxMgGk77p8ZqBiYAwtgGYwZaoaaoWaoOVQz1Aw1Q81Qc6BOcW4c4awcrL18Gdam0Jnq7PpEW5OpSsCypy7a7OX5pna5NMJZaVlZ_bC4pf7TyN391-3HMoH8_QpB895doa5aQZr4WbvgVd8rToImZuk7XoJG4s9vxA_mrrKQQFGx68R30w86q2dtVOSpBu900Kye&enc=deflate

Steps to Reproduce

Code see provided sandbox.

Scrolling sideways slowly, one can see the following images (notice numbers on the x-axis):

Image Image Image

Current Behavior

As soon as one of the endpoints of a line is outside the visible area, the entire line vanishes.

Expected Behavior

The visible part of a line should be drawn, even when one of the endpoints (or both endpoints) is outside the visible area.

Environment

- OS: Debian 13
- Browser: Firefox 140 ESR
- Framework: (none)

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