gradients to limit width of displayed text

550 views
Skip to first unread message

Daniel Holth

unread,
Nov 15, 2011, 4:54:19 PM11/15/11
to d3...@googlegroups.com
Here's an example of using gradients to hide the end of a long line of text. I just add a translated gradient for each datum and then reference it in the text's 'fill' attribute.

http://bl.ocks.org/1368205

Daniel Holth

unread,
Nov 16, 2011, 12:02:37 PM11/16/11
to d3...@googlegroups.com
Any ideas on getting this to work on Android [3.2] devices? It renders these as equal-width lines of grey text.
Reply all
Reply to author
Forward
0 new messages