From 6df0dfd9a7da94a70ef8b777ff0995b30e73e1aa Mon Sep 17 00:00:00 2001 From: Abhas Bhattacharya Date: Sat, 18 Mar 2017 23:00:38 +0530 Subject: [PATCH] Force tip direction 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 f5a82ce..2700090 100644 --- a/app/directives/directives.js +++ b/app/directives/directives.js @@ -126,7 +126,8 @@ app.directive("dynamicChart", function (d3Tip) { var tip_points = d3Tip.tip .attr('class', 'd3-tip') - .html(function(d) { return d.y; }); + .html(function(d) { return d.y; }) + .direction("n"); var vis = svg.call(tip_points);