From 577537cce16c351f190ec3bfda64735f15b936cb Mon Sep 17 00:00:00 2001 From: Maciej Korzepa Date: Thu, 8 Dec 2016 20:36:24 +0100 Subject: [PATCH 1/3] Issue #1 fixed. --- src/feature.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/feature.js b/src/feature.js index 9ae877c..fa1dca5 100644 --- a/src/feature.js +++ b/src/feature.js @@ -823,6 +823,8 @@ tnt_feature.location = function () { feature.plot = function () {}; feature.init = function () { row = undefined; + var track = this; + track.g.select("text").remove(); }; feature.mover = function() { var domain = xScale.domain(); From d3c78660167b88bb439ca279b01e5f2fda8247dd Mon Sep 17 00:00:00 2001 From: Maciej Korzepa Date: Thu, 8 Dec 2016 20:38:14 +0100 Subject: [PATCH 2/3] Issue #2 fixed. --- src/feature.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/feature.js b/src/feature.js index fa1dca5..1fc6925 100644 --- a/src/feature.js +++ b/src/feature.js @@ -179,9 +179,11 @@ tnt_feature.composite = function () { var reset = function () { var track = this; - for (var i=0; i Date: Thu, 8 Dec 2016 20:40:02 +0100 Subject: [PATCH 3/3] Issue #4 fixed. --- src/feature.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/feature.js b/src/feature.js index 1fc6925..f9b8424 100644 --- a/src/feature.js +++ b/src/feature.js @@ -768,7 +768,6 @@ tnt_feature.axis = function () { feature.reset = function () { xAxis = undefined; var track = this; - track.g.selectAll("rect").remove(); track.g.selectAll(".tick").remove(); }; feature.plot = function () {};