In the case where four traces are to be plotted, trace 1 on yaxis, trace 2 on yaxis2, …, the graph looks alike:
var data = [trace1, trace2, trace3, trace4]
Although if the first trace is omitted, the result is corrupted:
var data = [trace2, trace3, trace4]
Always will be in the graph visible only the last trace. The rangeSlider displays them correctly.
Here I prepared the code for testing:
Originally I came across this problem while using the
deleteTraces method. This method works well with all but the first index:
Is that behaviour a bug in Plotly or am I perhaps missing something in the layout settings?
Thanks for help!