Skip to content

Commit a36460d

Browse files
committed
refactor: Remove a useless internal prop
The clustering `__data` was not populated in any useful manner.
1 parent a43155f commit a36460d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/pointFeature.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,6 @@ var pointFeature = function (arg) {
204204
// mark the datum as a cluster for accessor methods
205205
d.__cluster = true;
206206

207-
// store all of the data objects for each point in the cluster as __data
208-
d.__data = new Array(d.obj.length);
209-
for (let idx = 0; idx < d.obj.length; idx += 1) {
210-
d.__data[idx] = m_allData[d.obj[idx].index];
211-
}
212207
data[didx] = d;
213208
}
214209

0 commit comments

Comments
 (0)