ggiraph
ggiraph copied to clipboard
y-axis tick label alignment issues with v0.7
I'm sorry I don't know how to reproduce this problem. Please feel free to close the issue since I cannot provide an easily reproducible example. But I wanted to bring it to your attention. I can only say that it happens with v0.7 and reverting back to 0.6.1 fixes the issue. I've attached two images, one showing good alignment in v0.6.1 and the other showing what happens in v0.7.
What is also difficult for me to figure out, the degree to which this happens is much worse when I host an app on a linux server with open source shiny-server, but when loading the app on a local Windows machine the text actually move rightward into the bar graph (though not as extreme). But these alignment issues only happen after upgrading to ggiraph v0.7. I'm sorry I don't have more information, but wanted to let you know because it means I have to lock to an older version of the package. Some other elements are also slightly misaligned in the v0.7 but not nearly as bad as the axis text. Prior to 0.7 I experienced no display issues like this when viewing graphs on any device or OS.
It would be easier to troubleshoot with tagged releases in the repo, which may be good to consider moving forward. This is a cool package, I appreciate your efforts. Thanks!
Good alignment through v0.6.1 (checked from CRAN archive)

Change with v0.7 on CRAN

I don't know yet what caused this issue. I will need to prepare a machine to test that. Sorry for the delay it takes.
Are used fonts available in the Linux server also? It looks like font metrics are wrong, so I think that's something to do with fonts. I tried to document that here: https://davidgohel.github.io/ggiraph/articles/offcran/customizing.html#fonts