amcharts / amcharts5

The newest, fastest, and most advanced amCharts charting library for JavaScript and TypeScript apps.
Other
348 stars 92 forks source link

Amcharts 5 Stock Candle is flashing #583

Closed itsnia232 closed 1 year ago

itsnia232 commented 2 years ago

Are there any known or common issues where the candlestick chart (using react) is flashing on and off ?

The data is only being loaded and updated once on load which I've confirmed with a console log on that event. I've also ruled out CSS by putting it in its own full screen fixed div. I've also stripped it down to just use the one main panel incase the scroll bar or volume was causing any issues.

I'm not entirely sure what else could be the issue ?

Any pointers appreciated

itsnia232 commented 2 years ago

Just for reference if i use the amcharts 5 demo data and CSVParser instead of my own data and the JSONParser it works fine without flashing.

If i turn off data grouping then it does also stop flashing, but if i pan or zoom in to the newest days the data disappears.

After a few hours of trying to debug this im convinced that the data grouping is actually trying to group everything as the flashing that occurs is actually one big grouped data candlestick

zeroin commented 2 years ago

If you could create a codepen with this issue reproduced, we could take a look.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. It will be closed in 5 days unless a new comment is added.

zeroin commented 1 year ago

My guess is that your data is not sorted in ascending order.