series.data() does not return whitespace data #1649
Labels
bug
Unexpected problem or unintended behavior.
good first issue
Good issue for first-time contributors.
Lightweight Charts™ Version:
Steps/code to reproduce:
undefined
in line series and candlestick data will be normal data.seriesApi.data()
of line series and candlestick series.undefined
data while getting data from the series usingseiesApi.data()
.Here, assume that the below function is used for updating series data. I'll pass new data and it will add it before the existing data.
Actual behavior:
undefined
values in data.seriesApi.data()
is returning only 90 data excluding 10undefined
data.Expected behavior:
seriesApi.data()
should return all actual data withundefined
value if any. i.e. If I set 100 data in series with 10undefined
values thenseriesApi.data()
should return me 100 data with 10undefined
.The text was updated successfully, but these errors were encountered: