Plotly.js: Remove toolbar

Created on 15 Jan 2016  路  4Comments  路  Source: plotly/plotly.js

There does not seem to be a way to remove the toolbar at the top right of a graph. It is interfering with my other hover events and is not necessary in my plot. I would love a way like {displayLogo:false} that removes this.
Thank you. I love this library so very much.

Most helpful comment

{displayModeBar: false} should do the trick.

Example here: https://plot.ly/javascript/configuration-options/#hide-the-modebar-with-plotly.js

All 4 comments

{displayModeBar: false} should do the trick.

Example here: https://plot.ly/javascript/configuration-options/#hide-the-modebar-with-plotly.js

Thank you! I should not have added this. I looked through the source and found that (it did not work) but adding {staticPlot:true} did work. Sorry to open this. You can close if you want.

No worries. The term _mode bar_ isn't really universal. You can't blame yourself for not finding those docs.

No worries! Thank you.

Was this page helpful?
0 / 5 - 0 ratings