I am planning to migrate my candle bar timeseries visualization from Plotly to Lightweight Charts.
My dataset resides in a database and it includes 1. 2 millions of bar candle timeseries.
Can Lightweight Charts handle large datasets - like 1.2 millions bar candle timeseries?
There aren't any hard coded limits to size of the dataset you can pass into Lightweight Charts, however there is a limit to how many datapoints can be visible on the chart at any given time. This is dependent on the size of the chart (width) as each candle would need to be at least a single pixel wide.
Here is an example of a candlestick chart with infinite history: https://jsfiddle.net/TradingView/fg7yez2s/
Simple example which creates a candlestick chart with 1.2 million data points (just to prove that it works):