Skip to content

Commit fa92af2

Browse files
committed
don't init ternary interaction handlers if staticPlot true
1 parent 945325f commit fa92af2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/plots/ternary/ternary.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,9 @@ proto.makeFramework = function() {
169169
_this.plotContainer.selectAll('.backplot,.frontplot,.grids')
170170
.call(Drawing.setClipUrl, clipId);
171171

172-
_this.initInteractions();
172+
if(!_this.graphDiv._context.staticPlot) {
173+
_this.initInteractions();
174+
}
173175
};
174176

175177
var w_over_h = Math.sqrt(4 / 3);

0 commit comments

Comments
 (0)