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

.goto() does not synchronize hairline hover with legend #258

Open
Jonarod opened this issue Dec 15, 2021 · 1 comment
Open

.goto() does not synchronize hairline hover with legend #258

Jonarod opened this issue Dec 15, 2021 · 1 comment

Comments

@Jonarod
Copy link

Jonarod commented Dec 15, 2021

Description

When .goto() method is used, the layout correctly jumps to desired position, however, the legend is not refreshed until mouse moves. For example, if I am at position 1536217800000 with close price at $100, then use .goto(1536216700000), the layout will correctly jump to correct position, but legend will stay at $100 price instead of actual candle hovered by the hairline which should be $86.

Screenshot

Here some step by step screenshots:

I start hovering this candle, which displays a CLOSE price of 6411.84.

Before Jump

Then in my code, I use .goto() to jump some candles behind. It works well, however, look at the legend: it hasn't changed accordingly even though the hairline is correctly positioned.

After Jump

Code (MVP)

Just trigger a

this.$refs.tvjs.goto(<some_timestamp_here>)

and see the behaviour on screen.

Data Sample

N/A

Console errors (if any)

No errors

Additional Info

tvjs v1.0
Chrome 96.0

@arul67800
Copy link

No body is maintaining this wonderful project..why cant you pull this out and pull a request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants