I am using plotly.js to plot graph in my web app. The modeBar is placed at top right corner by default. Is there any way I can place it at the top center?
This should work:
.js-plotly-plot .plotly .modebar {
left: 50%;
transform: translateX(-50%);
}
.js-plotly-plot .plotly .modebar{left: 40%}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With