I was working on a new type of graph and I accidentally added the volume indicator and I see that vertical black lines appear on the volume graph which I had not noticed before because of the black background color, what are those lines and how do they work? can i remove?
Ok, looking for an answer to my problem as always (in this forum 1 out of every 100 questions have an answer), I found the following.
The volume is a subplot that uses the same axis of the main graph, that is, xaxi or x1, and since xaxi has the showgrid property set to true, and since the volume is a subplot that is added later, it is positioned above the main graph, leaving the grid Also on top of it, that is why you see the volume grid lines above the main graph. Is it possible to make the x-axis grid of the volume graph not appear? I guess not since it is the same axis (xaxi) as the main graph.
One solution I tried is to create a new x axis (xaxi2 or x2) for the volume graph and link it to the main graph axis (xaxi or x1) through the scaleratio property, the problem with this is that when dragging or zooming to the main axis x1 does not synchronize simultaneously with the secondary axis, the latter is not updated until you finish dragging or zooming the first one, is there a way to make both move simultaneously?
Another solution would be to send the volume subplot to the background so that the main graph is above it, but I still don’t know how to do this since since it shares the same x-axis I cannot apply the overlaying property, is there a way to send the volume subplot at the bottom?
You know it would be a lot easier to help you if you created a minimal reproducible example to understand what’s happening