Skip to content

[Bug] Echarts and candlestick cropped the bars when move the graph with mouse #21048

Open
@luizlucca

Description

@luizlucca

Version

2.0.9

Link to Minimal Reproduction

https://codepen.io/Luiz-Lucca/pen/jEPeqPQ

Steps to Reproduce

I'm trying to implement the movement of the candlestick chart by the mouse with echarts. However, when I move the chart, the bars are cut off. I would like to zoom in and move without the bars being cropped. It's a bug or i'm doing something wrong? codepen: https://codepen.io/Luiz-Lucca/pen/jEPeqPQ

I tried several ways, but I couldn't move without cutting the candles. I expect a similar behavior to TradingView when I move the chart: even with the bars below the field of view there are no cuts.

Gif: https://i.sstatic.net/W16CsNwX.gif

Current Behavior

When I move the chart and zoom in, the candles are cut off.

Expected Behavior

Move the graph like TradingView.

Environment

- OS:
- Browser:
- Framework:

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