Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chart with whitespaces shifts on realtime #1201

Closed
eugene-korobko opened this issue Nov 22, 2022 · 2 comments · Fixed by #1431
Closed

Chart with whitespaces shifts on realtime #1201

eugene-korobko opened this issue Nov 22, 2022 · 2 comments · Fixed by #1431
Assignees
Labels
bug Unexpected problem or unintended behavior.
Milestone

Comments

@eugene-korobko
Copy link
Contributor

Lightweight Charts Version: 4.0.0

Steps/code to reproduce:

Open attached sample, wait for 6 seconds

Actual behavior:

red series shifts to the left

Expected behavior:

res series should keep its place

Additionally:

if replace whitespaces with some values

@eugene-korobko
Copy link
Contributor Author

debug.zip

@SlicedSilver SlicedSilver added the bug Unexpected problem or unintended behavior. label Nov 22, 2022
@SlicedSilver SlicedSilver added this to the 4.1 milestone Feb 6, 2023
@pedro-lucaas
Copy link

@eugene-korobko hey, i believe that this not is a bug.

Documentaion createChart

This link you can see the chart option timeScale.
In it is possible to set this behavior to false, through the option "shiftVisibleRangeOnNewBar"

Look
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants