Skip to content

Listen for data update #11137

Discussion options

You must be logged in to vote

I solved it by just having the svelte component export a const function that manually pans the graph. The parent classes just call the function on data update. (I did have to use set timeout however because the graph automatically scrolls to the left, but a delay of 10ms was more than enough and unnoticeable)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@BeaconBrigade
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by BeaconBrigade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants