Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ 'barLabel_top', function () {
- var fs = getFontSize( this.target.width() - 2*this.target.lineWidth() - 5 );
- return ( (this.target.height() > fs + 2*fs / minWidthRatio) && (fs > minFontSize) ) ?
- this.target.top() + fs/minWidthRatio :
- this.target.top() - (fs + fs / (2*minWidthRatio) + this.target.lineWidth());
- }],
Add Comment
Please, Sign In to add comment