Created
October 21, 2014 13:35
-
-
Save tcarlsen/3cd8f1500279ca93114d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
label | |
.text data.label | |
.style 'font-size', "24px" | |
.style "font-size", -> | |
r = innerRadius - 20 | |
return (2 * r) / this.getComputedTextLength() * 24 + "px" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment