🏥 🏭 Working on the COVID-19 response in Canada? Plotly & the Canadian government can help you and your organization. Learn more and get in touch.

Textposition display on top center of each horizontal stack bar trace

I have stacked bar group displayed in Horizontal orientation, However I am trying to display the text for stack(trace) on top center of the trace.

Is there any property where I can display the text exact top center of the trace making it like title of the trace.

Any help on this would be appreciated.

Thanks,
Venu

Something like this demo?

Thanks for the response archmoj. I am able to display the text outside. But requirement is to display on top of each trace.

please find the link for same.

I have tried giving custom textposition like this (‘Top’ + ‘Center’) but no luck.

It should be displayed like title for each trace something like this.

Thanks,
Venu

I was able to achieve finally, but trace are too far from trace, I may require help on that.

Thanks,
Venu