I\'m trying to \"robustly\" center the data labels in a stacked bar chart. A simple code and the result are given below. As you can see, the data labels aren\'t really cente
Why you wrote va="bottom"? You have to use va="center".
va="bottom"
va="center"