tradingview/lightweight-charts

drawSeriesPointMarkers function does not work correctly

Opened this issue · 0 comments

Lightweight Charts™ Version: 4.2.2

Steps/code to reproduce:

  1. Add two series of data (one must start later than the other)
  2. Add pointMarkersVisible = true for shorter series
  3. Scroll until the shorter series goes out of view

Actual behavior:

Black fill appears

Expected behavior:

Black fill does not appears

Screenshots:

lightweight-charts.mov

JSFiddle link:

https://jsfiddle.net/x9yh56qm/

I think this behavior occurs because the drawSeriesPointMarkers function always does context.fill(), even if the series is out of scope