Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Stacking y-axis labels for multiple traces

Hello all,

I am using plotly.js and the plotly web app to build some standardized industry plots. It is typical for these to have the y-axis labels stacked for multiple traces (see attached examples). Does anyone have a suggestions as to how this might be achieved in plotly.js ?

Desired Solution (via photoshop)

Thank you!


Using the axes position attribute should do the trick.

Here’s an example:

I do not think this works. Position sets the offset in the x-direction for the y-axis. I need each marker to stack vertically on the same tick. The position attribute + common number of “ticks” is how I get the three values to line up in the plot on the left above.