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:

  1. Create a bar series
  2. Create series markers on top of bars
  3. Create two line series (required for the bug to appear)
  4. Set data for bars and line series
  5. Set markers
  6. 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