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 92da0e3 commit 76ba24bCopy full SHA for 76ba24b
src/traces/scatterternary/plot.js
@@ -13,11 +13,16 @@ var scatterPlot = require('../scatter/plot');
13
14
15
module.exports = function plot(ternary, data) {
16
+ var plotContainer = ternary.plotContainer;
17
+
18
+ // remove all nodes inside the scatter layer
19
+ plotContainer.select('.scatterlayer').selectAll('*').remove();
20
21
// mimic cartesian plotinfo
22
var plotinfo = {
23
x: function() { return ternary.xaxis; },
24
y: function() { return ternary.yaxis; },
- plot: ternary.plotContainer
25
+ plot: plotContainer
26
};
27
28
var calcdata = new Array(data.length),
0 commit comments