We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cdc301 commit a5a719cCopy full SHA for a5a719c
src/snapshot/helpers.js
@@ -19,9 +19,12 @@ exports.getDelay = function(fullLayout) {
19
};
20
21
exports.getRedrawFunc = function(gd) {
22
+ var fullLayout = gd._fullLayout || {};
23
+ var hasPolar = fullLayout._has && fullLayout._has('polar');
24
+ var hasLegacyPolar = !hasPolar && gd.data && gd.data[0] && gd.data[0].r;
25
- // do not work if polar is present
- if((gd.data && gd.data[0] && gd.data[0].r)) return;
26
+ // do not work for legacy polar
27
+ if(hasLegacyPolar) return;
28
29
return function() {
30
(gd.calcdata || []).forEach(function(d) {
0 commit comments