Skip to content

Commit 5c2393a

Browse files
committed
🔪 last remaining signs of placeholder key in calcdata
- no need for it anymore.
1 parent 785bade commit 5c2393a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/plots/plots.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2012,11 +2012,8 @@ plots.doCalcdata = function(gd, traces) {
20122012
//
20132013
// This ensures there is a calcdata item for every trace,
20142014
// even if cartesian logic doesn't handle it (for things like legends).
2015-
//
2016-
// Tag this artificial calc point with 'placeholder: true',
2017-
// to make it easier to skip over them in during the plot and hover step.
20182015
if(!Array.isArray(cd) || !cd[0]) {
2019-
cd = [{x: false, y: false, placeholder: true}];
2016+
cd = [{x: false, y: false}];
20202017
}
20212018

20222019
// add the trace-wide properties to the first point,

0 commit comments

Comments
 (0)