[Pkg-javascript-commits] [d3-tip.js] 04/277: tweak radius

bhuvan krishna bhuvan-guest at moszumanska.debian.org
Thu Dec 8 06:57:10 UTC 2016


This is an automated email from the git hooks/post-receive script.

bhuvan-guest pushed a commit to branch master
in repository d3-tip.js.

commit a05c897a7f0be59a7b0d000377834a6c1ca43876
Author: Justin Palmer <justin at labratrevenge.com>
Date:   Sat Jan 7 11:55:31 2012 -0800

    tweak radius
---
 examples/circles.html | 2 +-
 src/d3.tip.js         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/circles.html b/examples/circles.html
index 4297ab1..ad6402f 100644
--- a/examples/circles.html
+++ b/examples/circles.html
@@ -31,7 +31,7 @@
         tip = d3.svg.tip()
           .orient('top')
           .content(function(d, i, t) { 
-            return d;
+            return "value: " + d;
           })
 
 
diff --git a/src/d3.tip.js b/src/d3.tip.js
index 145e282..6e58199 100644
--- a/src/d3.tip.js
+++ b/src/d3.tip.js
@@ -14,7 +14,7 @@ d3.svg.tip = function() {
 
     group.classed(className, true).text(' ');
 
-    var rect = group.append('rect').attr('transform', 'translate(0,0)').attr('rx', 2).attr('ry', 2),
+    var rect = group.append('rect').attr('transform', 'translate(0,0)').attr('rx', 3).attr('ry', 3),
         cnt = content(d, i, group),
         ebbox = el.node().getBBox();
     

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/d3-tip.js.git



More information about the Pkg-javascript-commits mailing list