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

Dashboard example graph sometimes extends past edge of graph area #61

Open
audreyfeldroy opened this issue Feb 9, 2025 · 2 comments
Open

Comments

@audreyfeldroy
Copy link
Member

It happens, I believe, the first time I load it in the browser. Then when I reload it seems fine.

Image
@Isaac-Flath
Copy link
Collaborator

Isaac-Flath commented Feb 9, 2025

The chart doesn’t know the size of the parent container, but gets cached so it works on reload. Not sure how to the fix.

We need a good python plotting solution for fasthtml somehow. I should probably test all the approaches on the FastHTML gallery to see if any of them work more robustly.

To recreate: go to another page on monsterui docs, do a page refresh, then navigate back to dashboard

@UX0l0l
Copy link

UX0l0l commented Feb 28, 2025

Franken UI recently added a charts feature recently, I'd say that seems like a good solution/quick fix, but I don't know how well it works for complex functions

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

3 participants