-
Notifications
You must be signed in to change notification settings - Fork 202
Closed
Description
Hi,
Sometimes the charts in the lower rows hop up and down because the legends of the upper charts change their layout/height
Attaching video recording
live_dashboard_before.mov
The issue seems to be in the uPlot css.
I added some custom css to fix it
/* Override uplot styles */
.u-series {
th {
/* Avoid legend title wrapping when data is shown for that row, changes the heights */
text-wrap: nowrap;
}
}
.u-inline {
/* Avoid block for legends, leads to chart card size updates and hopping */
display: flex;
flex-direction: column;
}Video recording with css fix
live_dashboard_after.mov
Is this the right way to do this?
I hope I'm not missing some obvious option that I could have used.
Thanks for the great library!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels