Closed
Description
Hello, I have a problem with Plotly.js. I'm trying to draw some traces which have 0 and 1 as values. They are digital variables and what I want to do is to draw them one above the other one, like this:
To do so, I faked each trace values. First trace can be 0 or 1, second trace can be 3 or 4, third trace can be 6 or 7, etc...
The problem is when I remove a trace using the legend. The result is something like this:
I'd like to have the other lines to be redrawn without the removed one.
So, the question is: is there an easier way to do this? Something like "stacked binary layout"?
Thank you!