Black Lives Matter. Please consider donating to Black Girls Code today.
Dash Enterprise delivers an incredible 21x cost savings 💸Download the e-book!

Offsetting traces

Hello,

I’d like to be able to offset my traces within a scatter chart. The idea is to overlay our graphs and then separate them at the push of a button. Something like the following:

This is overlayed

This is separate

I’m not sure how to do this. I know there is an offset attribute but I cannot find an example of how to us it.

We don’t have an trace offset attribute at the moment.

I recommend manually offsetting your y coordinates before plotting to get the desired result.