It's possible to set values inside and outside on a bar plot at the same time?

I want to plot x values inside the bars and the y values outside, like this:


Hi @yuricda96, you can use the text attribute to display one of these two values. For the other one, you can use an annotation, but the lazy solution (which I would probably choose) would be to have a second bar chart with transparent markers and no hover so that you can put the second value (as you probably know, use textposition to choose outside or inside text).

Ty @Emmanuelle, i really liked the second aproach! I’ll apply it on my project.