Viewing profile — kristw
kristw
HN member- Joined
- Wed, Dec 04, 2013, 7:24 PM UTC
- HN karma
- 18
- Public activity
- 17 items
- HN profile
- View on Hacker News ↗
About kristw
Recent public activity
- story
- story
- story
- story
- story
- story
- story
-
comment
Comment #10675049
This example has text inside the boxes. I use svg's .getBBox() to obtain width/height for each label. http://twitter.github.io/labella.js/with_text.html The max width parameter is …
-
comment
Comment #10675028
That was to showcase that you can render it in any orientation. This example might be a more likely use case for left/right (all labels usually have same height) http://twitter.git…
-
comment
Comment #10675024
http://twitter.github.io/labella.js/with_text.html
-
comment
Comment #10674483
Here it is. http://twitter.github.io/labella.js/with_text.html
-
comment
Comment #10673941
This is not reingold-tilford. The algorithm has two parts. The first part is a heuristic to distribute nodes into multiple layers when it won't fit in one. Then for each layer, it …
-
comment
Comment #10673924
fixed.
-
comment
Comment #10673919
The intention of this work was to find ways to put labels on any axis (1D). So if you want to use this to label peaks of area chart you can run labella to get the x position and th…
-
comment
Comment #10673908
That's how I felt with the 90 degrees bends. However, you have the choice to draw it your own way. https://github.com/twitter/labella.js/blob/master/docs/Rende... renderer.getWaypo…
-
comment
Comment #10673874
Nice idea. Will try to add that when I have time.
-
story
A simple scaffold for angularjs + requirejs + d3
See demo at http://kristw.yellowpigz.com/demo/angularjs-requirejs-d3-seed/index.html View source on github at https://github.com/kristw/angularjs-requirejs-d3-seed