tvjsx / trading-vue-js

💹 Hackable charting lib for traders. You can draw literally ANYTHING on top of candlestick charts. [Not Maintained]
https://tvjsx.github.io/trading-vue-demo/
MIT License
2.09k stars 638 forks source link

Lazy load of candles #147

Closed novecento closed 4 years ago

novecento commented 4 years ago

Hi, and apologies in advance if question was already done.

Has anyone already implemented a lazy loading / progressive rendering of candles?

I'm able to show 100000 candles, for example, but it's very aggressive in terms of CPU and time, and it's not useful to do it all together, we can render or load progressively.

Thanks a lot for this amazing tool.

C451 commented 4 years ago

Hey, most likely that's an app-level problem. There is a basic example: https://github.com/tvjsx/trading-vue-js/blob/master/test/tests/DataHelper.vue . Obviously the full solution will be sightly more complicated.