Search code examples
javascriptlightweight-charts

lightweight-charts - How to show future times in advance?


How to show upcoming times with no data in lightweight-charts? Like the image below

enter image description here


Solution

  • To generate "future" points you can use whitespace points. If you use them, lightweight-charts will display any time data but not price values/bars/candles.