Skip to content

Commit e4e1019

Browse files
committed
add check for selectable scatterternary trace:
- only scatterternary traces with mode 'markers' or/and 'text' can be selected
1 parent 8cc59a9 commit e4e1019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/modebar/manage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ function isSelectable(fullData) {
173173

174174
if(!trace._module || !trace._module.selectPoints) continue;
175175

176-
if(trace.type === 'scatter') {
176+
if(trace.type === 'scatter' || trace.type === 'scatterternary') {
177177
if(scatterSubTypes.hasMarkers(trace) || scatterSubTypes.hasText(trace)) {
178178
selectable = true;
179179
}

0 commit comments

Comments
 (0)