Skip to content

Commit 9d86a2f

Browse files
committed
🔪 selectedids (for now)
1 parent a95e47b commit 9d86a2f

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed

src/plots/attributes.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ module.exports = {
9898
// N.B. these cannot be 'data_array' as they do not have the same length as
9999
// other data arrays and arrayOk attributes in general
100100
//
101-
// TODO maybe add another valType:
101+
// Maybe add another valType:
102102
// https://github.com/plotly/plotly.js/issues/1894
103103
selectedpoints: {
104104
valType: 'any',
@@ -112,16 +112,6 @@ module.exports = {
112112
'selection all where the `selected` and `unselected` styles have no effect.'
113113
].join(' ')
114114
},
115-
selectedids: {
116-
valType: 'any',
117-
role: 'info',
118-
editType: 'calc',
119-
description: [
120-
'Array containing `ids` of selected points.',
121-
'Has an effect only for traces that support selections.',
122-
'...'
123-
].join(' ')
124-
},
125115

126116
hoverinfo: {
127117
valType: 'flaglist',

src/plots/plots.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,6 @@ plots.supplyTraceDefaults = function(traceIn, traceOutIndex, layout, traceInInde
10241024

10251025
if(_module && _module.selectPoints && traceOut.type !== 'scattergl') {
10261026
coerce('selectedpoints');
1027-
coerce('selectedids');
10281027
}
10291028

10301029
plots.supplyTransformDefaults(traceIn, traceOut, layout);

src/traces/scatter/calc_selection.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
var Lib = require('../../lib');
1212

13-
// TODO ids vs points??
14-
1513
module.exports = function calcSelection(cd, trace) {
1614
if(Array.isArray(trace.selectedpoints)) {
1715
Lib.tagSelected(cd, trace);

0 commit comments

Comments
 (0)