Series Markers misaligned on new bar
Author: whisCreated Oct 15, 2025Updated Oct 1, 2026
Labelscan’t repo
Lightweight Charts™ Version: 5.0.9
Steps/code to reproduce:
- Create a bar series
- Create series markers on top of bars
- Create two line series (required for the bug to appear)
- Set data for bars and line series
- Set markers
- Set new data for bars and series (remove the oldest bar a add a new bar)
https://stackblitz.com/edit/lwc-1990-meelm1ef?file=src%2Fmain.ts
Actual behavior:
On each new bar, the markers rubber-band, as if they were delayed by one frame.
Expected behavior:
Markers staying at the proper bar and not shifting.
Screenshots:
https://github.com/user-attachments/assets/967c4ce4-7bfd-4975-86da-716563827812
Source: tradingview/lightweight-charts