Replies: 1 comment 2 replies
-
Hello, Unfortunately, there is currently no control over the position of the bar annotations. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Everyone,
I'm really happy to have found lets-plot. It has made visualising data pretty easy.
I have the following issue, I'm having a hard time understanding how to place labels in a geom_bar plot. Ideally, I want to have control over where in the bar they are drawn. Middle, outside the bar, etc.
But I can't move the labels. I feel that by using alignment characters ^ < > is only for the characters specified by the format not the graphic the text is bounded by.
This has also being a problem when creating a stacked geom_bar plot.
Below is my example
Here is what I get
![image](https://private-user-images.githubusercontent.com/22862243/301525650-e66e45d2-746f-46bd-a8a5-852195cb39a9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg1MDIxMDksIm5iZiI6MTcxODUwMTgwOSwicGF0aCI6Ii8yMjg2MjI0My8zMDE1MjU2NTAtZTY2ZTQ1ZDItNzQ2Zi00NmJkLWE4YTUtODUyMTk1Y2IzOWE5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE2VDAxMzY0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWViMjE2NTNiNTgwN2Y3MzhlNWJjMThiOWQxMDg3YjljYWI4MWQxZDdkYzQ4ZmNjZWQwYjljMjFkYzQ0YmYxODAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.oiBy_SuMzpjowOaHLiZEwGWGx0fh8jSukuFtmzjHnUE)
Any help is much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions