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

How to animate graphs? #8

Open
linustws opened this issue Jul 28, 2023 · 1 comment
Open

How to animate graphs? #8

linustws opened this issue Jul 28, 2023 · 1 comment
Labels
question Question about the library

Comments

@linustws
Copy link

Hi I'm confused on how to add animation to the graphs. Right now im working on a time-series graph. I would like the animate from the start to the end, like tracing out the graph. Example of my graph:

image
@cshaa
Copy link
Owner

cshaa commented Jul 31, 2023

Hey Linus!
Plotly itself does have some kind of animations API but I have no experience with it, so it's not directly supported in this library (yet). Alternatively you can just add data to the array of points and the graph will re-render using Svelte's reactivity.

@cshaa cshaa added the question Question about the library label Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question about the library
Projects
None yet
Development

No branches or pull requests

2 participants