apache / apache/echarts

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

Open
#21,048 1 comment 0 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### 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](https://stackoverflow.com/)

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

```markdown
- OS:
- Browser:
- Framework:
```

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.