hoffstadt / hoffstadt/DearPyGui

Candlestick series bug with small timeframe

Open
#386 7 comments 0 reactions 0 assignees View on GitHub
category: plots priority: medium state: pending type: bug
Dominant language
C++
Stars
15.6k
Forks
783
PR merge metrics
No merged PRs in 30d

Description

**Version of Dear PyGui:**
Version: 0.6.42

**OS**
Operating System: Windows 10

**My Issue/Question**
I can't have a good looking Candlestick series in 1 minute timeframe.
Candles seems to be bugged, don't really understand why.

**Screenshots/Video**
![candlestick-bugged](https://user-images.githubusercontent.com/6611798/102389840-fc641980-3fd3-11eb-9ec8-aeee08e620b2.png)

Configuration plot are the same, the source of data is checked. Is there something i forget ? Like a parameter to set or somethin else ?

Portion of code :
```python
# [...]
with window("Example Window", width=500, height=500, y_pos=0, x_pos=0):
add_plot("candles", anti_aliased=True, xaxis_time=True, x_axis_name="Day", y_axis_name="USD")
add_candle_series("candles", "candlesticks", cdls["date"], cdls["open"], cdls["high"],
cdls["low"], cdls["close"])

with window("Compare Window", width=500, height=500, y_pos=0, x_pos=501):
add_plot("candles_2", anti_aliased=True, xaxis_time=True, x_axis_name="Minute", y_axis_name="USD")
add_candle_series("candles_2", "candlesticks", cdls_1m["date"], cdls_1m["open"], cdls_1m["high"],
cdls_1m["low"], cdls_1m["close"])
# [...]
```

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.