We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello! The question is simple, is it possible to make the scrollable box for legends?
I tested several css variants like this:
`
.scrollable-legend { display: flex !important; overflow-x: auto; padding-top: 5px; border-top: 1px solid #ccc; }
.scrollable-legend .u-series { display: inline-block; margin-right: 15px; }
in hooks: `
hooks: { ready: [ (u) => { chartStyles(u); const legendEl = u.root.querySelector(".u-legend"); if (legendEl) { legendEl.classList.add("scrollable-legend"); } }, ], }
series: [ {}, { label: "Series 1" }, { label: "Series 2" }, { label: "Series 3" }, { label: "Series 4" }, { label: "Series 5" }, { label: "Series 6" }, { label: "Series 7" }, ... { label: "Series 100" }, ],
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello! The question is simple, is it possible to make the scrollable box for legends?
I tested several css variants like this:
`
.scrollable-legend {
display: flex !important;
overflow-x: auto;
padding-top: 5px;
border-top: 1px solid #ccc;
}
.scrollable-legend .u-series {
display: inline-block;
margin-right: 15px;
}
`
in hooks:
`
`
`
`
The text was updated successfully, but these errors were encountered: