uPlot
uPlot copied to clipboard
Space between the plot area and y-axis
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:
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.