From 673da6621a46900850077662352ef4dcb5769ec8 Mon Sep 17 00:00:00 2001 From: Abhas Bhattacharya Date: Sat, 18 Mar 2017 23:02:10 +0530 Subject: [PATCH] Force tip offset for column chart --- app/directives/directives.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/directives/directives.js b/app/directives/directives.js index 2700090..981e8bc 100644 --- a/app/directives/directives.js +++ b/app/directives/directives.js @@ -127,7 +127,8 @@ app.directive("dynamicChart", function (d3Tip) { var tip_points = d3Tip.tip .attr('class', 'd3-tip') .html(function(d) { return d.y; }) - .direction("n"); + .direction("n") + .offset([0,0]); var vis = svg.call(tip_points);