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

Space between the plot area and y-axis #994

Closed
agudulin opened this issue Aug 27, 2024 · 1 comment
Closed

Space between the plot area and y-axis #994

agudulin opened this issue Aug 27, 2024 · 1 comment
Labels
question Further information is requested

Comments

@agudulin
Copy link

Hi, is there a way to add a gap between the plot area and the y-axis border directly in uPlot? I understand that it might be possible to achieve this with a custom plugin that draws the y-axis borders, but I’m curious if there’s a native solution available for this. Any guidance or suggestions would be appreciated.

From:

To:

@leeoniya
Copy link
Owner

leeoniya commented Mar 8, 2025

no native way to do this, but you might also be able to fake it using a dom element inserted into the the y axis overlay element in an init or ready hook.

@leeoniya leeoniya added the question Further information is requested label Mar 8, 2025
@leeoniya leeoniya closed this as completed Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants