diff --git a/src/plot_api/plot_config.js b/src/plot_api/plot_config.js index e79eabe8ff6..23968c4e0b3 100644 --- a/src/plot_api/plot_config.js +++ b/src/plot_api/plot_config.js @@ -287,7 +287,13 @@ var configAttributes = { dflt: [], description: [ 'Add mode bar button using config objects', - 'See ./components/modebar/buttons.js for list of arguments.' + 'See ./components/modebar/buttons.js for list of arguments.', + 'To enable predefined modebar buttons e.g. shape drawing, hover and spikelines,', + 'simply provide their string name(s). This could include:', + '*v1hovermode*, *hoverclosest*, *hovercompare*, *togglehover*, *togglespikelines*,', + '*drawline*, *drawopenpath*, *drawclosedpath*, *drawcircle*, *drawrect* and *eraseshape*.', + 'Please note that these predefined buttons will only be shown if they are compatible', + 'with all trace types used in a graph.' ].join(' ') }, modeBarButtons: {