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

Trying to use OHLC that has non continuous timeseries creates gaps in the chart #144

Closed sptutusukanta closed 4 years ago

sptutusukanta commented 4 years ago

Thanks for making this awesome chart & I'm using in one of my project, but I'm facing a weird issue. I'm using time-series data that has gaps in dates. As the Indian markets are closed on Saturdays & Sundays and also in some holidays. The data has some gaps in days. The data has no entry for the holidays. But when displaying the data in the chart, it shows gaps.

Sample sliced data: https://pastebin.com/aqj0BPDY Output: https://prnt.sc/uoqrhs You can clearly see the gaps in the chart.

Expected: There should be no gaps in the chart, only the date labeled in the chart should skip those dates.