Learn how to use Dash Bio for next-gen sequencing & quality control. 🧬Register for the Oct 27 webinar.

Adapt name in hovertemplate of stacked bar chart when hovermode = 'x unified'?

The x-values for my graphs are too long, so I’m working with ticks to shorten them.

My plot works well except one thing I would like to adjust:
when hovermode is set to x unified (which is what I want) it is using the ticktext as heading - but I’d like to use the original x-value which contains a long string. Is there any way to do so?

This is what it looks right now:
stackoverflow1

I would like to have ‘02 - Lipstick Rosewood’ to be displayed instead of ‘02’

Have you found a solution to your problem above? If so, how did you solve it?