plotly / plotly.js

Open-source JavaScript charting library behind Plotly and Dash
https://plotly.com/javascript/
MIT License
17.13k stars 1.87k forks source link

provide option to draw grid above traces #5265

Open cldougl opened 4 years ago

cldougl commented 4 years ago

Add attribute to affect the z-order of the x and y axes gridlines such that the traces added to my figure do not obscure the gridlines, by default the traces are always drawn on top of the grid lines.

alexcjohnson commented 4 years ago

Feels like there are at least three layers we might want the grid to be in:

invisible gridlines

burgalon commented 2 years ago

@alexcjohnson is there a way to get "minimal ink" styling somehow nowadays?

einarpersson commented 2 years ago

Any update on this? Looking for the same thing

Any workaround that does not involve creating a bunch of shapes?

walkermalling commented 1 year ago

+1

This is important, for example, in order to be able to see deviation from an axis on a scatter plot with a large about of data (which obscures grid lines). You should also be able to set just the zeroline above the plot.