Skip to content

Series Markers misaligned on new bar #1990

@whis

Description

@whis

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:

20251015-1452-36.8881828.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    can’t repoThis bug is because of some local setup that can’t be reproduced.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions