Closed Alik-V closed 4 years ago
Hi Alik, Thanks! You're welcome :)
You're right something must be miscalculated with negative values, to fix you can set minimal width to y-axis labels like this :
ax_yaxis(
show = TRUE,
labels = list(minWidth = 60), # <--- here
title = list(text = "Some text in millions units")
)
With your example (👍 for it) 60 seems to work fine.
Victor
Hi Victor,
Thanks a lot, worked like a charm! I will be following the development of the library, loving it so far!
Best wishes, Alik
Hi pvictor, Thanks a lot for your ongoing work on this library, it's super cool and useful!
I am having an issue trying to give name to y_axis where the text appears to be outside the plot boundary. Could you give me some help with this? Thanks! Reproducible example and picture of the result:
Interestingly, the problem is only present when dealing with all negative values on y-axis.