There are duplicates data in my array (see last index of array on time 1595635200) that cause error on my candlestick.setData. If the duplicate data removed it will not throw any error. However If I reduced the data size to smaller amount, it still work even there are duplicates in data
Lightweight Charts Version: standalone master branch build
Steps/code to reproduce:
There are duplicates data in my array (see last index of array on time 1595635200) that cause error on my candlestick.setData. If the duplicate data removed it will not throw any error. However If I reduced the data size to smaller amount, it still work even there are duplicates in data
Actual behavior:
Chart broken, throws error on screenshot below
Expected behavior:
Chart not broken
Screenshots:
CodeSandbox/JSFiddle/etc link:
This worked fine somehow
Originally posted by @SuperPenguin in https://github.com/tradingview/lightweight-charts/issues/533