Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 876ce4b commit f45ffecCopy full SHA for f45ffec
src/plots/plots.js
@@ -481,6 +481,15 @@ plots.supplyDefaults = function(gd) {
481
482
// attach helper method
483
newFullLayout._has = hasPlotType.bind(newFullLayout);
484
+
485
+ // temporary block (before replace all _has??? with _hasPlotType() ?
486
+ newFullLayout._hasCartesian = newFullLayout._has('cartesian');
487
+ newFullLayout._hasGeo = newFullLayout._has('geo');
488
+ newFullLayout._hasGL3D = newFullLayout._has('gl3d');
489
+ newFullLayout._hasGL2D = newFullLayout._has('gl2d');
490
+ newFullLayout._hasTernary = newFullLayout._has('ternary');
491
+ newFullLayout._hasPie = newFullLayout._has('pie');
492
493
// special cases that introduce interactions between traces
494
for(i = 0; i < modules.length; i++) {
495
_module = modules[i];
0 commit comments