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

Make "loading" message be in same place and same aspect ratio as chart #306

Open
jrochkind opened this issue Jan 7, 2025 · 0 comments
Open

Comments

@jrochkind
Copy link
Member

Right now a "loading" message is seen towards the middle of the box.

When the data comes in, the "loading" message is removed, and the chart is added at the top of the box. This causes some jumping around after load.

We could make the loading message show up in same area that chart will eventually show up. And we could make it have the same aspect ratio as chart, using css aspect-ratio and our config, so it takes up the exact same space as the subsequent chart would.

If done right, this could be a lot less content moving around and resizing. But the kind of baroqueness of the JS makes it a bit tricky.

I had thought about wanting to do this before 9.0.0 release, but realize I don't have capacity right now, so am filing the ticket instead!

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

1 participant