We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07b07dc commit 0c495e1Copy full SHA for 0c495e1
src/components/modebar/manage.js
@@ -170,6 +170,21 @@ function getButtonGroups(gd) {
170
dragModeGroup.push('select2d', 'lasso2d');
171
}
172
173
+ if(
174
+ // fullLayout._has('ternary') ||
175
+ // fullLayout._has('mapbox') ||
176
+ fullLayout._has('cartesian')
177
+ ) {
178
+ dragModeGroup.push(
179
+ 'linedraw',
180
+ 'openfreedraw',
181
+ 'closedfreedraw',
182
+ 'ellipsedraw',
183
+ 'rectdraw',
184
+ 'eraseshape'
185
+ );
186
+ }
187
+
188
addGroup(dragModeGroup);
189
addGroup(zoomGroup.concat(resetGroup));
190
addGroup(hoverGroup);
0 commit comments